In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces what is the difference among tailf, tail-f and tail-F. what is introduced in this article is very detailed and has a certain reference value. Interested friends must finish reading it!
Tail-f is equivalent to-- follow=descriptor and is tracked according to the file descriptor. When the file is renamed or deleted, the trace stops.
Tail-F is equivalent to-- follow=name-- retry. Track according to the file name and keep retrying, that is, if the file is deleted or renamed, if you create the same file name again, the trace will continue.
Tailf is equivalent to tail-f-n 10 (it seems that tail-f or-F prints the last 10 lines by default, and then tracks the file). Unlike tail-f, it does not access disk files if the file does not grow, so tailf is especially suitable for tracking log files on laptops because it reduces disk access and saves power.
The above is all the contents of this article entitled "what is the difference among tailf, tail-f and tail-F". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.