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

Answer Posted / shyam

tail -5 filename

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the linux ‘cd’ command options along with the description?

489


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 mv command options?

470


What daemon is used for scheduling of the commands?

526


What is bash linux?

522






What is the difference between diff and cmp command in unix?

483


Which of the Commands delete the files from the /tmp directory, issued by non-root user?

655


What is file and example?

615


How do I run bash on windows?

511


What are whois tools?

529


What is command example?

564


Which command would you use to create a file system on a new hard drive?

579


What is $$ in shell script?

519


Explain getopts command of linux?

595


How do you kill a process in linux?

558