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

Answer Posted / senthil

tail -5 filename

Is This Answer Correct ?    17 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is df -i command?

553


you wish to create a link to the /data directory in bob's home directory so you issue the command ln /data /home/bob/datalink but the command fails. What options hould you use in this command line to be successful.

542


How commands work in linux?

520


How do I find the umask value in linux?

513


What is the difference between rmdir and rm r?

620






How do I find command history in linux?

491


What does pwd mean in linux?

548


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

537


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


What make install does?

511


What is FC command?

496


How does mkdir work in linux?

595


How do I find the process id in linux?

530


What command should you use to check the number of files and disk space used and each user’s defined quotas?

588


What is df command in linux?

544