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

What does command task mean?

1063


is there any way to read the ms excel datas directly into informatica?like is there any possibilities to take excel file as target?

1095


Explain what transformation and how many are there in informatica?

890


What are the guidelines to be followed while using union transformation?

1065


Quickly characterize reusable change?

1058


Informatica settings are available in which file?

938


how to construct simple biogas digerter? please show me detail drawing and specification of simple biogas construction?

2389


where to store informatica rejected data?

1046


What does cheating measurement mean?

995


what is the complex transformation you used in informatica

2524


What are the mapping parameters and mapping variables?

1087


What are the tasks that source qualifier perform?

1030


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

1021


Define sessions in informatica etl?

970


Does an informatica transformation support only aggregate expressions?

970