水下功夫做透,水上才能顺风顺水。

tail命令 | head命令

tail -f -n 50 log.txt 循环读取文件log.txt的后50行 《=》tail -300f log.txt

head -n 50 log.txt 显示文件的前n行

posted @ 2018-05-03 16:03  北方寒士  阅读(205)  评论(0编辑  收藏  举报