head /etc/passwd # 默认查看文件的前十行 head -2 /etc/passwd # 查看文件的前两行
head 命令
原文:http://www.cnblogs.com/mingerlcm/p/7784207.html