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 you will create new folder / directories and how to remove file and folder in linux?

482


What is command line in unix?

511


What is sudo bash command?

546


How do I overclock my cpu?

503


You wish to print a file ‘draft’ with 60 lines to a page. What command would you use?

563






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

568


What are the commands used in command prompt?

535


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

551


What is simple command?

529


Who is unix command?

556


What is $@ in makefile?

562


Which are the linux directory commands?

560


What is Syntax of any Linux command?

587


Explain about the command elm?

578


How do I permanently set ulimit in linux?

520