Linux 从后向前看文件内容
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
当日志文件log.log很长,但又要按内容从后往前查看时,可以使用如下命令:
tac log.log | more
tac log.log | less
可以采用如下方式来记忆该命令:
cat log.log | more
是从前往后查看文件内容,而tac命令是cat命令的字符串反转形式,所以其执行结果也和cat执行结果相反。




A beautiful web dashboard for Linux
最近提交(Master分支:16 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)