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

Answer Posted / madhava reddy

#tail -5 <filename> press enter

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the root directory linux?

504


Explain about refer?

538


Which command would you use if you want to remove the password assigned to a group?

530


What is dos and its commands?

610


Explain command grouping in linux?

555






What is the fastest way to enter a series of commands from the command-line?

540


How often do you use grep command and how in Linux operating system?

537


What is cat command in linux?

530


How do I find hostname in linux?

578


What does cd – command do?

600


What is unix finger command?

514


If the programmer wishes to execute an instruction at the specified time. Which command is used?

921


What are the 4 kinds of sentences with examples?

590


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

482


How lilo is useful in linux?

573