Organizational Research By

Surprising Reserch Topic

Question:how to use tail unix command on command line?


File Manipulation and Examination

Every entity in the Unix operating system is a file. It may be called a directory, socket, or stream, but they all have inode numbers and they are all files. As such, file manipulation and examination is an extremely important topic. Below are just a few of the many very important file handling programs.

tail

Tail is very simple. It shows you the tail end of a file; just the last few lines. This is invaluable when it comes to error logs. You can use the ‘f’ flag to “follow” the end of the file so every time a program writes to that log you see it instantly. Use “CTRL+C” to end execution of tail.


tail -f /var/log/php.log
asked Sep 13, 2013 in LINUX by anonymous
edited Sep 12, 2013
0 votes
14 views



Related Hot Questions



Government Jobs Opening


...