Using the less pager

Using the less pager

less has better features than more and can be customised to suit your particular needs. Many of its commands are the same as those of the text editor vi.

To display a file use the command:

   less filename

This will display the first screenful of the file. A prompt with the filename is given in the bottom left-hand corner of the screen.

You can now move around the file using the less commands.


[Home] [Search] [Index] This site maintained by unixhelp@math.rutgers.edu
This page was last updated on September 05, 2006 at 10:30 am and is maintained by webmaster@math.rutgers.edu.
For questions regarding courses and/or special permission, please contact mclausen@math.rutgers.edu.
For questions or comments about this site, please contact help@math.rutgers.edu.
© 2012 Rutgers, The State University of New Jersey. All rights reserved.