摘要: linux中tail命令 用于查看文件内容 最基本的是cat、more和less。 1. 如果你只想看文件的前5行,可以使用head命令,如: head -5 /etc/passwd 2. 如果你想查看文件的后10行,可以使用tail命令,如: tail -10 /etc/passwd 或 tail 阅读全文
posted @ 2017-05-18 20:45 dtdxrk 阅读(962) 评论(0) 推荐(0)