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 are reported commands?

576


What does the command ' $who | sort –logfile > newfile' do?

777


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

654


What is the function of grep command in unix?

607


What is the use of find command in unix?

592






What is pipe command in unix?

684


What does pipe () return?

606


What is the functionality of a top command?

628


Explain the steps that a shell follows while processing a command.

693


Who command in unix?

586


Explain ‘system calls’ with respect to unix commands?

608


How do I use grep to search for a file?

588


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

806


What is the command to view process running?

584


What are awk commands?

590