How can I only see the last 5 lines of a file?

Answer Posted / vinod

#tail -n5 filename

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you create a file in linux?

499


What is command example?

569


What does r mean linux?

605


How do I set permission to run in linux?

586


What is history command in linux?

559






What are linux commands?

545


You want to copy the user’s home directories to a new location. Which of the following commands will accomplish this?

568


What is bash linux?

524


Which daemon is used for scheduling of the commands?

572


How compile c++ program in cmd?

606


What is gnu in linux?

535


What does wc command do in unix?

538


How do I clear bash history in linux?

535


Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

502


How do you ask politely?

539