Following a file in ubuntu using command “tail -f”
Posted on December 17, 2008
Many ubuntu users are aware of the command ‘tail‘, which can be used to display the last few lines of a large file. This can be useful for viewing log files, etc.
For example,when you use “tail -f” to view a logfile:
tail -f /var/log/messages
This will give you a scrolling view of the logfile. As new lines are added to the end, they will show up in your console screen.
When you want exit,pls use Ctrl+C.
Popularity: 1% [?]
Related Posts:
» Filed Under Linux
Comments
Leave a Reply