Beginner
Package: util-linux
less
View file contents one page at a time.
Syntax
less [options] file
Description
less is a pager for viewing large files or piped output a screen at a time, supporting forward and backward navigation and searching, without loading the entire file into memory first like some editors do.
Examples
less /var/log/syslog
Page through a log file interactively
journalctl | less
Page through piped command output
/error
Inside less, search forward for "error" (press n for next match)