2018年11月15日

摘要: 最基本的是cat、more和less。 1. 如果你只想看文件的前5行,可以使用head命令,如: head -5 /etc/passwd 2. 如果你想查看文件的后10行,可以使用tail命令,如: tail -10 /etc/passwd 或 tail -n 10 /etc/passwd tai 阅读全文
posted @ 2018-11-15 14:00 深圳私塾 阅读(3537) 评论(0) 推荐(0)

导航