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 to Raghunath Katragadda Cancel reply1

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

17 + fourteen =


Raghunath Katragadda

Raghunath Katragadda

A