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

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

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

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


The reCAPTCHA verification period has expired. Please reload the page.