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

What is the root directory linux?

507


How can we increase disk read performance in single command?

554


Why is it called bash?

502


How to hide the partition in grub booting?

553


What is make command in linux?

555






What does top do in linux?

516


What are the linux commands used in devops?

554


What is bash history linux?

539


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?

612


How to write the output of a command to a file?

580


What is file and example?

615


What is the difference between clang and llvm?

564


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

575


What is top command in linux?

513


How to recover /etc/passwd file and /etc/shadow file?

552