The correct answer is D. tail -n 10 filename
Explanation:
tail is a command specifically designed to display the last part of a file. The -n 10 option instructs it to print the last 10 lines.
cat is used to concatenate and print the entire contents of files. The -n option adds line numbers, but it won't limit the output to the last 10 lines.
dump is not a standard Linux command for working with files.
head is used to display the first part of a file. The -n 10 option would print the first 10 lines.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
9866666
5 months, 1 week ago