header bg

Scan QR code or get instant email to install app

Question:

Catherine needs to view the last 10 lines of a log file and observe any changes made to it. Which of the following commands should she run on the Linux system she has accessed?

A Tail -f logfile.log.
explanation

The tail command displays the last 10 lines of a file by default, and by using the -f flag, it monitors any changes made to the file. The head command, on the other hand, shows the top of a file. The commands foot and follow do not exist and were created for this particular question.

Related Information

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*