Specifications
3-54
Cisco Wide Area Application Services Command Reference
OL-11817-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 an application that displays text files a 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 are as follows:
• Backward movement—LESS 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—LESS 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—LESS 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 To display the text of the syslog.txt file using the LESS application, enter the following command:
WAE# less syslog.txt
file_name Name of the file to be displayed.