nerdexam
LPI

101-500 · Question #33

Which of the following commands will print the last 10 lines of a text file to the standard output?

The correct answer is D. tail -n 10 filename. You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

GNU and Unix Commands

Question

Which of the following commands will print the last 10 lines of a text file to the standard output?

Options

  • Acat -n 10 filename
  • Bdump -n 10 filename
  • Chead -n 10 filename
  • Dtail -n 10 filename

How the community answered

(27 responses)
  • A
    7% (2)
  • B
    4% (1)
  • C
    4% (1)
  • D
    85% (23)

Explanation

You've hit your Sonnet limit · resets Jun 8, 9am (UTC)

Topics

#tail#text file operations#file viewing#command options

Community Discussion

No community discussion yet for this question.

Full 101-500 Practice