Linux-命令-head,tail

命令: head [options] filename  默认读取文件前10行

-n: 行数,读取文件多少行,不加n也可以.


命令: tail [options] filename  默认读取文件后10行

-n: 行数,读取文件多少行,不加n也可以.

-f: output appended data as the file grows;

posted @ 2017-08-10 12:31  TimeTree  阅读(167)  评论(0编辑  收藏  举报