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
What is the difference between locating and locate command?
How do I know my linux shell version?
What is the command to calculate the size of a folder?
What does cd – command do?
Which of the Commands delete the files from the /tmp directory, issued by non-root user?
What is a makefile in linux?
What does top do in linux?
What could be the problem when a command that was issued gave a different result from the last time it was used?
What is mkdir p linux?
How do I check my disk space?
What is whois command in linux?
What is in mkdir command?
Explain about lprm job number?
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.
You need to see the last fifteen lines of the files dog, cat and horse. What command should you use?