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.

Answers were Sorted based on User's Feedback



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

Answer / vc

sed -n -e '31,50p' -e '81,90p' filename.txt

Is This Answer Correct ?    0 Yes 0 No

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

Answer / xx

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

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Informatica Interview Questions

How to generate sequence numbers?

0 Answers  


what are the best practices to extract data from flat file source which are bigger than 100 mb memory?

0 Answers   Wipro,


how to get max value record into one target and remaining records into another target?

2 Answers   Accenture,


how we can do session partition in informatica any one explain me clearly? thanks advance.

1 Answers   iGate,


How do we do the Fact Load What is the size of your Data warehouse? What is your Daily feed size and weekly feed size

1 Answers  


why sequence generator should not directly connected to joiner transformation ?

1 Answers   ANZ,


Explain incremental aggregation in informatica

0 Answers   Informatica,


What is olap (on-line analytical processing?

0 Answers  


explain abt ur project architecture?

0 Answers   Anthem, DELL, IBM, TCS, Wipro,


source target Q410 4 2010 Q311 3 2011 Q412 4 2012 Q309 3 2009

1 Answers   IBM,


If you want to create indexes after the load process which transformation you choose?

3 Answers   HCL,


How to load the data into target table, which not have Primary/Surrogate key (Duplicate records not acceptable)

5 Answers   TCS,


Categories