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

Answer Posted / chandrani

head -8 <file name>

Is This Answer Correct ?    9 Yes 84 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cat and more command?

759


What is the command to compare two files in unix?

709


Who invented grep?

737


What is “chmod” command?

646


How can we use grep command in unix?

702






What are awk commands?

671


What is pipe command in unix?

786


What is the first character of the output in ls l command?

729


What does touch command do in unix?

837


What is the command to find maximum memory taking process on the server?

770


Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.

712


What is the difference between awk and grep?

631


What are some command words?

670


Explain command to display different lines that are found when compare two files?

764


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

688