what is the command to print last 8 lines of any text file.

Answer Posted / jupiter

#tail -n 8 <file-name>

Is This Answer Correct ?    55 Yes 16 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the significance of the 'tee' command?

649


What is the use of awk command in unix?

633


Explain ‘library functions’ with respect to unix commands?

669


What is difference between grep and find command in unix?

643


Name the various commands that are used for the user information in unix.

612






Describe the usage and functionality of the command rm –r * in unix?

896


How does pipe () work?

650


Which command is used to copy files?

630


How do I clear my terminal history?

646


What is the search command in unix?

656


How can we use grep command in unix?

673


why metadb requires a seperate slice to create Solaris volume manager

2622


How to display no of records in oracle using unix command?

639


How can you see the command line history?

653


Explain ‘system calls’ with respect to unix commands?

655