Skip to content

Commit a36af1f

Browse files
authored
Update less.md (#452)
更新less命令
1 parent 4cbaf2a commit a36af1f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

command/less.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,23 @@ less(选项)(参数)
3434

3535
```shell
3636
sudo less /var/log/shadowsocks.log
37+
38+
/字符串:向下搜索"字符串"的功能
39+
?字符串:向上搜索"字符串"的功能
40+
n:继续向后搜索
41+
N:向前搜索
42+
b: 向后翻一页
43+
d: 向后翻半页
44+
u: 向前滚动半页
45+
y: 向前滚动一行
46+
Q: 退出less 命令
47+
空格键: 滚动一页
48+
回车键: 滚动一行
49+
[pagedown]: 向下翻动一页
50+
[pageup]: 向上翻动一页
51+
G: 移动到最后一行
52+
g: 移动到第一行
53+
3754
```
3855

3956

0 commit comments

Comments
 (0)