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 is the advaantage of each user having its own copy of the shell?
Is grep faster than awk?
Is it inbetween or in between?
What does awk stand for?
What is pipe command in unix?
How do I run a whois command?
Explain command to view process running?
What is awk good for?
How to use grep command to list find the records of a file containing 10 different strings?
What is the command to compare two files in unix?
How to display no of records in oracle using unix command?
Which unix command lists files/folders in alphabetical order?
Describe the usage and functionality of the command rm –r * in unix?
Write a command to display a file’s contents in various formats?
How does shebang work?