Linux-命令-head,tail
命令: head [options] filename 默认读取文件前10行
-n: 行数,读取文件前多少行,不加n也可以.
命令: tail [options] filename 默认读取文件后10行
-n: 行数,读取文件后多少行,不加n也可以.
-f: output appended data as the file grows;
--------------------
阑心而慧智,心静而致远.
--------------------