

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/2332/unix-man/www.unix-manuals.com/public_html/quicktips/unix/tail.html on line 17
Warning: include(http://www.unix-manuals.com/topad.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/2332/unix-man/www.unix-manuals.com/public_html/quicktips/unix/tail.html on line 17
Warning: include() [function.include]: Failed opening 'http://www.unix-manuals.com/topad.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/2332/unix-man/www.unix-manuals.com/public_html/quicktips/unix/tail.html on line 17
NOTICE - New forum for all UNIX learners, users and programmers - click here
Following a file with the 'tail -f' command
Many users are aware of the UNIX® 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.
Even more useful in some situations, is the '-f' parameter to the 'tail' command. This causes tail to 'follow' the output of the file. Initially,
the response will be the same as for 'tail' on its own - the last few
lines of the file will be displayed. However, the command does not return to the prompt, and instead, continues
to 'follow' the file. When additional lines are added to the file, they will be displayed on the terminal. This
is very useful for watching log files, or any other file which may be appended over time. Type 'man
tail' for more details on this and other tail options.
Recommended Book:
Improve your UNIX skills beyond measure - we strongly recommend this excellent book.
Click the image now for more details, to read reviews, and to buy the book.
Click here for the next Quick Tip

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/2332/unix-man/www.unix-manuals.com/public_html/quicktips/unix/tail.html on line 56
Warning: include(http://www.unix-manuals.com/botad.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/2332/unix-man/www.unix-manuals.com/public_html/quicktips/unix/tail.html on line 56
Warning: include() [function.include]: Failed opening 'http://www.unix-manuals.com/botad.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/2332/unix-man/www.unix-manuals.com/public_html/quicktips/unix/tail.html on line 56
© Copyright 2000-2003, Tom Reader, All Rights Reserved.
UNIX is a registered trademark of The Open Group in the US and other countries.
For more information on the use of the UNIX trademark, click
here.
The contents of this site are not connected with or endorsed by The Open Group in any way.