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

Answer Posted / gaurav chaudhary

#tail -n -5 <filename>

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?

593


What is shell scripting commands?

538


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

925


Which command reduces the size of a file?

590


How do you limit memory usage for commands?

575






Which command is used to check the number of files and disk space used and the each user’s defined quota?

554


Which command is used to see the online manual?

612


What are the command prompt commands?

531


What is ulimit command?

613


Enlist some linux networking and troubleshooting commands?

527


What is mkdir?

539


What is sudo bash command?

552


How find ip address linux?

567


Explain command grouping in linux?

559


Explain about refer?

542