log as well as new content as it is appended to the file by another process?

Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it is appended to the file by another process?

Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as it is appended to the file by another process?

A.
cut -30 -v /var/log/bigd.log

B.
head -30 -e /var/log/bigd.log

C.
tail -f -n 30 /var/log/bigd.log

D.
tac -30 /var/log/bigd.log

E.
cat -r -n 30 /var/log/bigd.log

Explanation:
From the man pages:
tail – output the last part of files



Leave a Reply 0

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