Skip to content

Commit 12c3454

Browse files
author
CoooooLer
committed
halt
1 parent d01709b commit 12c3454

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Diff for: 02_1基础指令.txt

+2
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,6 @@ cat
116116
例如: #cat /home/linux1 /home/linux2 /home/linux2 > all.txt
117117

118118

119+
120+
119121

Diff for: 03_进阶指令.txt

+11
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,14 @@ tail (查看一个文件的末n行,如果不指定n,默认显示后10行)
1515

1616
可以通过tail指令查看一个文件的动态变化
1717
语法: #tail -f 文件路径
18+
19+
less
20+
作用: 查看文件,以较少的内容进行输出,按下辅助功能键(数字+回车、空格+上下方向键)查看更多
21+
语法: #less 需要查看的文件的路径
22+
23+
wc
24+
作用: 统计文件内容信息(包括行数、单词数、字节数)
25+
语法: #wc -lwc 需要统计的文件路径
26+
-l: 表示lines,函数
27+
-w: 表示words,单词数
28+
-c: 表示bytes,字节数

0 commit comments

Comments
 (0)