Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

In a file , how to retrieve the lines which are the
multiples of 50 ? like 50,100,150th lines etc.

Answer Posted / ramesh jp

awk 'NR % 50 == 0' print

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is shell application?

990


What is the way to do multilevel if-else's in shell scripting?

1301


What is the use of .sh file?

1122


When should shell programming/scripting not be used?

1154


How does shell scripting work?

1112


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.

2668


What is scripting used for?

1043


What is shell company all about?

982


What are the types of script?

1175


How to find duplicate record in file using shell script?

1404


What is sudo command?

1059


What are the various stages of a linux process it passes through?

1183


Which is better perl or shell scripting?

994


What is the first line in every perl script called?

1047


Explain about gui scripting?

1094