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
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
A