how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / biswa
cat <filename>|head -51|tail -1
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is the use of awk command in unix?
What is the use of the tee command?
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 is command substitution?
Enlist some filename manipulation commands in unix.
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is ctrl d?
What is nr in awk command?
What is the search command in unix?
What do know about tee command?
Who invented grep?
What does #!/ Bin sh do?
What does touch command do in unix?
Who command in unix?
how to sort the content of the file based on numeric values