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 the commands in UNIX to list the files in a Directory?

620


What does #!/ Bin sh do?

591


What does the command '$ls | wc –l > file1' do?

684


How does the system know where one command ends and another begins?

1578


What is the nmap command?

583






What is the size of time_t?

650


Is ‘du’ a command? If so, what is its use?

639


Using unix command how to display no of records in oracle?

613


What is .sh file?

622


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

642


What is the function of grep command in unix?

590


What do chown command do?

536


What is the behavioural difference between cmp and diff commands?

677


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

593


What is grep and how do you use it?

577