head 命令 读取文件的前n行,默认查看文件的前十行 head 命令 读取文件的前n行 默认查看文件的前十行 head /etc/passwd # 默认查看文件的前十行 head -2 /etc/passwd # 查看文件的前两行 -c n 显示文件的前n个字符串