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?
What is the difference between awk and grep?
Which command will print your home directory on screen?
Which command is used to copy files?
What is rmdir command?
What is grep in bash?
What is awk used for?
What is the use of tee command?
What are the commands in UNIX to list the files in a Directory?
What is difference between grep and find command in unix?
What is the command to compare two files in unix?
why metadb requires a seperate slice to create Solaris volume manager
Is ‘du’ a command? If so, what is its use?
What is $0 bash?
What is the first character of the output in ls l command?