LPI
010-100 · Question #79
Which command will display the last line of the file foo.txt?
Sign in or unlock 010-100 to reveal the answer and full explanation for question #79. The question stem and answer options stay visible for context.
The Power of the Command Line
Question
Which command will display the last line of the file foo.txt?
Options
- Ahead -n 1 foo.txt
- Btail foo.txt
- Clast -n 1 foo.txt
- Dtail -n 1 foo.txt
Unlock 010-100 to see the answer
You've previewed enough free 010-100 questions. Unlock 010-100 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#tail command#file viewing#text processing