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 does the metacharacter mean?
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)?
What does touch command do in unix?
What is the comma to show the space allocation of files?
What does this command do,"$more readme.txt“?
What are the general commands in using unix os for a beginner?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the use of sed command in unix?
What happens when we execute a unix command?
Why is grep called grep?
How do I run a bash script?
why metadb requires a seperate slice to create Solaris volume manager
What is awk good for?
What is the comma to display different lines that are found when compare two files?
What is unix command?