查看文件内容head,tail命令 head命令 用途:查看文件开头的一部分内容(默认为10行) head -n 文件名…
tail命令 用途:查看文件结尾的少部分内容(默认为10行) tail -n文件名… tail -f文件名