Plus handy shortcuts to use
more less commands in Unix/Linux
I work with a lot of large log files. I usually connect to my UNIX and Linux servers using Putty or Telnet, and then read the files using standard UNIX/Linux commands. Other IT folks prefer to use an X-window GUI, but if you have a low bandwidth connection, you may be better off using a command line terminal to get things done faster.
To browse logs without editing them, use the "less" command. "Less" in Linux and UNIX lets you view the file and perform basic searches. Unlike "more," it lets you navigate both forward and backward, allowing you to search for any search string at any point in the document.
To open a file with less, type the command less followed by the file name at the UNIX or Linux prompt: