首页 > 系统服务 > 详细

linux命令-tail

时间:2016-01-30 03:06:32      阅读:312      评论:0      收藏:0      [点我收藏+]

tail :output the last part of files :输出文件尾部

tail参数:

    -c,--bytes=K :output the last K bytes; alternatively,  use  -c  +K  to  output bytes starting with the Kth of each file .    :输出文件至倒数K个字符,倒数K字符不会输出(文件每行有后缀)

    -n, --lines=K  :output the last K lines, instead of the last 10; or use -n +K to output lines starting with the Kth   :默认输出后10行。

    -f  :output appended data as the file grows; -f, --follow, and --follow=descriptor are equivalent  :随着文件数据的增加,不间断输出数据


linux命令-tail

原文:http://fbzl1990.blog.51cto.com/9276609/1739925

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!