In a file , how to retrieve the lines which are the
multiples of 50 ? like 50,100,150th lines etc.
Answer Posted / mohsin
egrep "^[0-9]*[0|5]0" filename
| Is This Answer Correct ? | 5 Yes | 13 No |
Post New Answer View All Answers
What is the significance of the shebang line in shell scripting?
How do you find out What is your shell?
I want to connect to a remote server and execute some commands, how can I achieve this?
How do I stop script errors?
How do we delete all blank lines in a file?
What is shell and shell script?
What is the conditional statement in shell scripting?
Write the syntax for "if" conditionals in linux?
Explain about sourcing commands?
Is scripting and coding the same thing?
Can shell script run on windows?
What is the best shell scripting language?
What are the types of script?
Explain about shebang?
How to find all the files modified in less than 3 days and save the record in a text file?