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
Which command is used to restrict incoming messages?
What do know about tee command?
Who invented grep?
What is pipe command in unix?
What does find command return in unix?
What is the command to find hidden files in the current directory?
Is command prompt unix?
how to sort the content of the file based on numeric values
What does the command '$ls | wc –l > file1' do?
Which command is used to find whether the system is 32 bit or 64 bit?
Name the general commands in using unix os for a beginner?
What is {} in find command?
What are the unix commands?
What do chgrp command do?
How can you see the command line history?