Tailf, Tail-f, tail-f three differences

Source: Internet
Author: User

Tail-f is equivalent to--follow=descriptor, tracking according to the file descriptor, when the file is renamed or deleted, the trace stops

Tail-f is equivalent to--follow=name--retry, tracked according to the file name, and remains retried, that is, after the file has been deleted or renamed, if you create the same file name again, you will continue to track

TAILF is equivalent to Tail-f-N 10 (seemingly tail-f or-f default also prints the last 10 lines, and then trace the file), unlike Tail-f, if the file does not grow, it does not go to access the disk files, so TAILF is particularly suitable for those portable computer tracking log files, because it is reduced Less disk access, can save power

This article is from the "Progress a little every day" blog, be sure to keep this source http://yujia2016.blog.51cto.com/59379/1833641

Tailf, Tail-f, tail-f three differences

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.