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

Answer Posted / swarup devalekar

tail -n filename

Is This Answer Correct ?    3 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the command to check cpu speed in linux?

530


What is ulimit in linux?

574


You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?

560


How to root mirror in linux?

570


Which are the linux directory commands?

564






What is top command in linux?

511


How do I get to root in linux?

554


You are required to restore the file memo.ben. It was backed up in the tar file MyBackup.tar. Which command would you use to do it?

532


What is the difference between rmdir and rm r?

620


How do I change directories in linux command line?

478


What does bash stand for?

548


What does mkdir mean in linux?

611


What is the pwd command?

571


What command would you use to create an empty file without opening it to edit it?

571


In order to improve your system’s security you decide to implement shadow passwords. What command should you use?

537