In a file , how to retrieve the lines which are the
multiples of 50 ? like 50,100,150th lines etc.
Answer Posted / ganeswar bojanapu
Here is simply command
sed -n '50~50'p filename
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How can any user find out all information about a specific user like his default shell, real-life name, default directory, when and how long he has been using the system?
Where is bash history?
is this growing field and what is average package in this?
Explain about the slow execution speed of shells?
What is shell application?
How do I run a shell script in powershell?
how will you find the total disk space used by a specific user?
What is the difference between grep and egrep?
What is .sh file in mac?
How will you emulate wc –l using awk?
What is the crontab?
What is another name for a bash shell script that you might see?
What is the meaning of $1 in shell script?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
How can I set the default rwx permission to all users on every file which is created in the current shell?