In a file , how to retrieve the lines which are the
multiples of 50 ? like 50,100,150th lines etc.
Answer Posted / ramesh jp
awk 'NR % 50 == 0' print
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is shell application?
What is the way to do multilevel if-else's in shell scripting?
What is the use of .sh file?
When should shell programming/scripting not be used?
How does shell scripting work?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
What is scripting used for?
What is shell company all about?
What are the types of script?
How to find duplicate record in file using shell script?
What is sudo command?
What are the various stages of a linux process it passes through?
Which is better perl or shell scripting?
What is the first line in every perl script called?
Explain about gui scripting?