how to find the 51th record of a file containing 100 records
in unix.

Answer Posted / sundar octavious

head -51 <filename> |tail -1

The above command will display the answer.

Is This Answer Correct ?    33 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the general format of unix command syntax?

681


How can you see the command line history?

578


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

639


How do you grep a case insensitive?

532


What is ctrl d?

586






How do I search a whole word in vim?

681


What are awk commands?

575


How do I run a whois command?

589


What do know about tee command?

594


What is used to type command?

535


How do I search for a file in unix command?

539


What is the functionality of a top command?

615


Which command is used to kill the last background job?

767


How do I use grep to find a file?

572


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

947