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

Which unix command to make a new directory?

592


What do chown command do?

536


How to use grep command to list find the records of a file containing 10 different strings?

647


What is unix command?

584


What are bash commands?

597






What is the pipe command?

578


What command will change your prompt to myprompt?

706


What is the difference between grep and grep?

569


What is the comma to display different lines that are found when compare two files?

595


How do I search for text in vi?

588


What is the command to compare two files in unix?

624


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

644


How do I use nslookup?

577


Which command is used to restrict incoming messages?

594


What is awk used for?

624