Which command will display the last line of the file foo.txt?

Posted by: Pdfprep Category: LFCS Tags: , ,

Which command will display the last line of the file foo.txt?
A . head -n 1 foo.txt
B . tail foo.txt
C . last -n 1 foo.txt
D . tail -n 1 foo.txt

Answer: D

Leave a Reply

Your email address will not be published.