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

What are the basic needs to join two sources in a source qualifier?

3 Answers  


What are the mapping paramaters and mapping variables?

1 Answers  


Hi, Can someone send me the DWH and Informatica FAQ's at priti.singh84@gmail.com Thanks in Advance, preeti

1 Answers   Accenture, Patni,


performance wise which one is better in joiner and lookup transformation?why?explain clearly?

4 Answers   IBM,


can a port in expression transf be given the name DISTINCT

3 Answers  


What do think which one is the better joiner or look up?

0 Answers  


In a scenario I want to change the dimensions of a table and normalize the denomralized table which transformation can I use?

4 Answers  


What is data merging, data cleansing and sampling?

6 Answers   Satyam,


what is incremantal aggregation?

1 Answers  


What is a filter transformation and why it is an active one?

0 Answers  


What are the different types of transformation available in informatica.

0 Answers  


What is the difference between OLTP and ODS?

4 Answers  


Categories