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 different types of Type2 dimension maping?

1 Answers  


Find a way to implement the following logic : You have column like : Column 1 AA|BB|CC DD|EE|FF WW|AA I need to get the length of the column without the ‘|’ .

5 Answers  


What is rank index in rank transformation?

0 Answers  


Insert else update option in which situation we will use

4 Answers   HCL,


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

1 Answers   iGate,


what is tha tracesing level? and difference betweentrace in normal and verbose and nonverbose?

2 Answers  


difference between source based commit? and target based commit? which is better with respect to performance?

6 Answers   IBM,


How to load last n records of file into target table - informatica

0 Answers   Informatica,


What is dimensional table? Explain the different dimensions.

0 Answers  


Which is better performance wise database or file?How?

2 Answers   TCS,


What do you understand by term role-playing dimension?

0 Answers  


What are the new features of informatica 9.x in developer level?

0 Answers  


Categories