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
Which shell is the best?
is this growing field and what is average package in this?
Explain about the slow execution speed of shells?
How do I run a powershell script?
What is the default shell of solaris?
what is tickets $ what low,medium,high priorite pls define time also
What is another name for a bash shell script that you might see?
What is subshell?
What is eval in shell script?
What is shell and terminal?
how will you find the total disk space used by a specific user?
How to check if a directory exists?
What is the purpose of scripting?
How will you copy a file from one machine to other?
In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?