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

If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?

549


How do you do nslookup?

539


Which command is used to find what is in your home directory?

565


Explain the working of command grouping?

545


What is cmake in linux?

616






What is git command?

529


What is cpu core in linux?

520


please advice me what i have to prepare for NIC Exam(22-feb- 09). send me the question pattern for the 2 hrs exam. please sent it to manivannan_it15@yahoo.co.in

1905


What are the linux commands used in devops?

554


How do you create a blank file in linux?

512


What is df command in unix?

511


How do makefiles work?

539


How do I stop a linux job?

556


What are linux commands useful?

590


How does case sensitivity affect the way you use commands?

665