查看日志的命令:1、tail命令,例“tail -n +10 test.log”查询10行之后的所有日志;2、head命令,例“head -n 10 test.log”查询日志文件中的头10行日志;3、cat命令;4、sed命令。
技术文章 / 下载软件趣味内容 / 专业带飞