In a file , how to retrieve the lines which are the
multiples of 50 ? like 50,100,150th lines etc.
Answer Posted / kavita
awk 'NR % 50 ==0 {print}' filename
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How do I run a .sh file on mac?
How do I run a script from command prompt?
What is .sh file in mac?
What does egrep mean?
What is bash eval?
What is the difference between scripting and coding?
What can scripts do?
What is a batch file used for?
What is ms powershell?
What is an inode block?
Is powershell a bash?
How do you debug a script?
What is a boot block?
What is a shell environment?
How to print pid of the current shell?