Linux命令温故而知新:tail,head,cat

来源:互联网 发布:巨人网络征途 编辑:程序博客网 时间:2024/04/30 23:57

查看文件的后多少行
tail fileName


tail -linenumber fileName


查看文件的前多少行
head fileName
head -lineNumber fileName

查看全部文件
cat