21篇测试必备的Linux常用命令,每天敲一篇,每次敲三遍,每月一循环,全都可记住!!
https://www.cnblogs.com/poloyy/category/1672457.html
实时刷新log
tail -f test.log
实时刷新最新500条log
tail -500f test.log
显示最后5条log(两种写法)
tail -n 5 test.log
tail -5 test.log
显示第五条后面的所有log
tail -n +5 test.log
21篇测试必备的Linux常用命令,每天敲一篇,每次敲三遍,每月一循环,全都可记住!!
https://www.cnblogs.com/poloyy/category/1672457.html
tail -f test.log
tail -500f test.log
tail -n 5 test.log
tail -5 test.log
tail -n +5 test.log
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。