head 显示文件的前几行。
head [-n count | -c bytes] [file ...]
-n, --lines=[-]NUM 指定查看的行数
➜ linuxtest head -n 3 test1.txt justx ➜ linuxtest head -n 4 test1.txt justx 第一行文字
justx
知道的越多 不知道的越多
文章评论