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

Answer Posted / prakash

tail -n5 filename

Is This Answer Correct ?    20 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you kill a process in linux?

558


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

677


What command do you type to find help about the command who?

544


What is the difference between command ‘ping’ and ‘ping6’?

533


How do I check cpu usage?

579






What is SFC command?

485


How does case sensitivity affect the way you use commands?

665


What is p in mkdir?

569


What make install does?

511


How do you create a text file in linux terminal?

522


How can I delete a file in linux?

542


How do I do a whois search?

560


What is $@ in makefile?

564


What is clang format?

532


How do I find the linux version?

509