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 difference between grep and egrep?
Why is used in shell scripting?
What makes c shell a more preferable option than the bourne shell?
What is shell company all about?
Devise a script that takes file name as arguement(which must present in the current directory)and locates from your home directory tree all thpath names of its links.Then mail the list to self.
Print the 10th line without using tail and head command.
What is scripting used for?
Why should we use shell scripts?
Explain about the slow execution speed of shells?
Why do we use shell scripting?
How will you connect to a database server from linux?
What is the command to find out today's date?
Explain how you Automate your application using Shell scripting.
What is a boot block?
What are the two files of crontab command?