Specifications

3-125
Cisco Wide Area Application Services Command Reference
OL-16451-01
Chapter 3 CLI Commands
less
less
To display a file using the Less application, use the less EXEC command.
less file_name
Syntax Description
Defaults No default behavior or values.
Command Modes EXEC
Device Modes application-accelerator
central-manager
Usage Guidelines Less is a pager application that displays text files one page at a time. You can use Less to view the
contents of a file, but not edit it. Less offers some additional features when compared to conventional
text file viewer applications such as Type. These features include the following:
Backward movement—Allows you to move backward in the displayed text. Use k, Ctrl-k, y, or
Ctrl-y to move backward. See the summary of Less commands for more details; to view the
summary, press h or H while displaying a file in Less.
Searching and highlighting—Allows you to search for text in the file that you are viewing. You can
search forward and backward. Less highlights the text that matches your search to make it easy to
see where the match is.
Multiple file support—Allows you to switch between different files, remembering your position in
each file. You can also do a search that spans all the files you are working with.
Examples The following example shows how to display the text of the syslog.txt file using the Less application:
WAE# less syslog.txt
Related Commands type
file_name Name of the file to be displayed.