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 / vc

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

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is workflow monitor?

1103


How do you promote a non-reusable transformation to reusable transformation?

1188


How to open an older version of an object in the workspace?

1273


explan ur project architecture?

2129


What is DR strategy for Informatica project?

1233


What is an active transformation?

1164


What is a joiner transformation?

1042


generate date / time dimension in informatica

1166


What is the procedure for creating independent data marts from informatica 7.1?

1123


How to convert multiple rows to single row (multiple columns) in informatica

1429


What is lookup change?

1114


How do you take back up of repository?

1212


-Which expression we can not use in Maplets?, -Can we join(relate) two dimensions in a schema? -Why and where we use 'sorted input' option?

5886


What are the basic requirements to join two sources in a source qualifier transformation using default join?

1216


How do you remove duplicate records in informatica? And how many ways are there to do it?

1210