linux more less 用法

###

举例:

netstat -a | less

netstat -a | more

more filename

###

more常用操作命令

Enter 向下n行,需要定义。默认为1行

Ctrl+F 向下滚动一屏

Ctrl+B 返回上一屏

空格键 向下滚动一屏

q 退出more

显示多少行,比如显示4行,more -4 test.txt   也可以这样写:cat test.txt | more -5

####

原文地址:https://www.cnblogs.com/andy0816/p/15631538.html