how to find the 51th record of a file containing 100 records
in unix.
Answer Posted / dinesh kumar
awk 'NR=51 Printf{$0}' filename
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What does this command do,"$more readme.txt“?
Is ‘du’ a command? If so, what is its use?
Which command is used to copy files?
What does sed command do in unix?
Explain ‘library functions’ with respect to unix commands?
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 $0 bash?
What will the following command do?
What is updatedb?
What is the command to find maximum memory taking process on the server?
What is in grep command?
Name the various commands that are used for the user information in unix.
What difference between cmp and diff commands?
Which command is used to delete all files in the current directory and all its sub-directories?
What is the first character of the output in ls l command?