Skip to content

Commit a9d88ac

Browse files
authored
Update 2017-02-10-cat_and_tail_and_head.md
1 parent d1c7c38 commit a9d88ac

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

_posts/linux/2017-02-10-cat_and_tail_and_head.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ tags: [linux]
77

88
# cat、tail、head命令
99

10-
cat -n 文件路径||tail -n +5||head -n 6 // 显示 5 ~ 10 行的内容, 包括5 和10
10+
cat -n 文件路径/|tail -n +5\||head -n 6 // 显示 5 ~ 10 行的内容, 包括5 和10
1111

1212
tail -n +iLinNum // 从ILinNum开始显示到结束的内容
1313

0 commit comments

Comments
 (0)