Back to the learning path

less

less: more than more ("less is more") Command details
Step 1/1: Page through text

less shows a file a screen at a time: space next page, b back, g/G top/bottom, /TEXT search, n next match, q quit. Long output works too: COMMAND | less.

$ less /var/log/syslog
Beginnerless
Page through a long file
build.log has 80 lines, too many for one screen. Open it with less: space for the next page, b to go back, /ERROR to search, n for the next match, q to quit.
readlinkNext lesson:more