PrepAway - Latest Free Exam Questions & Answers

Which of the following commands will display the last 30 lines of /var/log/bigd.log as well as new content as

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?

PrepAway - Latest Free Exam Questions & Answers

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