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

Answer Posted / arnab chowdhury

#tail -n 5 <filename>

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to know linux os is 32 bit or 64 bit?

538


What does umask 077 mean?

547


What is p in mkdir?

572


What is difference between sh and bash?

516


How do I check cores in linux?

541






How do I run whois command?

507


What is the command can be used to check for file corruption?

564


What is $@ in makefile?

566


How do I check terminal history?

518


What are the 4 kinds of sentences with examples?

591


What is bc command in unix?

526


Why do we use cmake?

534


What is gnu in linux?

533


What is $$ in shell script?

519


What is the makefile in c?

549