Which language do you prefer? English 简体中文 繁体中文
...

Part of Linux Commands Cheat Sheet

View file in scrollable manner


less /var/log/nginx/access.log

Then you can use [Space], [Enter] and other keys to control the content to scroll, and q to quit.

Some useful key commands:


down arrow, enter, e, j: move down one line
up arrow, y, k: move up one line
space, f: move down one page
b: move up one page
g: go to the first line
G: go to the last line
10g: to go the 10th line
/term: search term
n: when searching, go to the nest occurrence
N: when searching: go to the previous occurrence
h: display help

Use less command in a pipeline


ps aux | less

References

How to Use the Less Command | Linode

More Command in Linux

wbswjc-blog