Use Tail command to view growing/changing files in real time
Posted on: 02/26/2011 10:57 AM

Linuxers posted a guide about using Tail to view growing/changing files in real time

Use Tail command to view growing/changing files in real time


Many a times you will feel the need to view a constanly updating file. This is a common case with logs. People usually think that tail command is only used to view the last parts of a file, but it even provides you with the ability to view growing/changing files.
Please note that, by growing I mean files to whom data is being appended constantly. Using the -f option, tail lets us view the data that is being added to the file in real time.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/use_tail_command_to_view_growingchanging_files_in_real_time.html)