Shell Interview Questions and Answers

 

I want to monitor a continuously updating log file, what command can be used to most efficiently achieve this?

We can use tail -f filename . This will cause only the default last 10 lines to be displayed on std o/p which continuously shows the updating part of the file.

Posted by:Richards