PrepAway - Latest Free Exam Questions & Answers

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

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

PrepAway - Latest Free Exam Questions & Answers

A.
head -n 1 foo.txt

B.
tail foo.txt

C.
last -n 1 foo.txt

D.
tail -n 1 foo.txt


Leave a Reply