Problem Statement
Which command displays file content one screen at a time?
Explanation
The less command displays large text files one page at a time and allows scrolling up or down.
It is more memory-efficient than cat for reading log or config files.
Code Solution
SolutionRead Only
less /var/log/syslog
Practice Sets
This question appears in the following practice sets: