Which of the following commands will display the last five lines of a file called file1.txt? (choose two)

Last Updated on May 11, 2020 by Admin

Which of the following commands will display the last five lines of a file called file1.txt?

(choose two)

  • head -n 5 file1.txt
  • tail -5 file1.txt 
  • tail file1.txt
  • tail -n 5 file1.txt

For more questions and answers go to below link:

Linux Unhatched Assignments Assessment Exam Answers 2020

5 1 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments