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
What is the general format of unix command syntax?
How can you see the command line history?
How to use grep command to list find the records of a file containing 10 different strings?
How do you grep a case insensitive?
What is ctrl d?
How do I search a whole word in vim?
What are awk commands?
How do I run a whois command?
What do know about tee command?
What is used to type command?
How do I search for a file in unix command?
What is the functionality of a top command?
Which command is used to kill the last background job?
How do I use grep to find a file?
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)?