tail -100f log.log 这会输出文件的后一百行,不退出,如有新的内容添加将及时显示
tail -100f log.log
tail -n 100 log.log 显示最后100行,退回到控制台
cat 从头显示
tac 从尾显示
cat和tac可加上 |more 来分页显示
posted on 2015-05-08 09:44 消失的浮云 阅读(219) 评论(0) 收藏 举报
博客园 © 2004-2025 浙公网安备 33010602011771号 浙ICP备2021040463号-3