Less

From Linuxintro
Revision as of 12:19, 2 August 2012 by imported>ThorstenStaerk (Created page with "Less is a paging program for the console. It allows you to see a file page-by-page, for example open a console and type less /var/log/messages shows you the syslog. less doe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Less is a paging program for the console. It allows you to see a file page-by-page, for example open a console and type

less /var/log/messages

shows you the syslog. less does not only work on files, but on any output stream. Take for example

dmesg