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...

There are 100 lines in a file. How to print line number 31-50 and 81-90 in unix with a single command.

Answer Posted / xx

awk '(NR>31 && NR<50) || (NR>81 && NR <90) filename.txt

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

 Informatica Checkpoints

3377


What are the steps involved in the migration from older version to newer version of Informatica Server?

2153


Define Pmrep command?

1114


I have a flat file, want to reverse the contents of the flat file

1171


whats the logic to load the lower level of granularity of data to fact table.

2310


What are the features of complex mapping?

1206


Do you find any difficulty while working with flat files as source and target?

1147


What is an unconnected transformation?

1130


In warehouses how many schemas are there?

1129


can u give example for factless fact table

6781


Can anyone tell me the new features in Informatica 9 Version?

2207


What is primary and backup node?

1174


Which means the first record should come as last record and last record should come as first record and load into the target file?

1142


What is informatica powercenter repository?

1256


How do you handle two sessions in Informatica

1219