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

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.
tail -n 1 foo.txt

B.
last -n 1 foo.txt

C.
head -n 1 foo.txt

D.
tail foo.txt



Leave a Reply 1

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


Raghunath Katragadda

Raghunath Katragadda

A