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 are filters explain sort with all the options available?
How do I run a script on mac?
What is a shell in operating system?
What is bash command used for?
Explain about non-login shell files?
What is awk in shell scripting?
What is the syntax of "nested if statement" in shell scripting?
What does $1 mean in bash?
What is the first line in a shell script?
c program to display the information of given file similar to givan by the unix or linux command ls -l
Explain about the slow execution speed of shells?
Explain about "s" permission bit in a file?
Is shell and terminal the same?
What is the best scripting language?
Why do we write bin bash in shell scripts?