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

Source and Target are flat files, Source table is as below ID,NAME 1,X 1,X 2,Y 2,Y On Target flat file i want the data to be loaded as mentioned below ID,NAME,REPEAT 1,X,2 1,X,2 2,Y,2 2,Y,2 How to achieve this, Can i get a map structure

7391


What is the difference between STOP and ABORT options in Workflow Monitor?

1257


What is intricate mapping?

1203


How do you load first and last records into target table?

1159


Explain why we use partitioning the session in informatica?

1093


What is a joiner transformation?

996


How can we update a record in the target table without using update strategy?

1149


What is dimensional table?

1063


How to update or delete the rows in a target, which do not have key fields?

1178


What are some examples of informatica etl programs?

943


what is unit testing?tell me proceedure

2222


What is deployment group?

1215


What are active and passive transformations?

1082


What are the different lookup cache(s)?

1118


In What Situations we can use MappingParameters ,Mapping Variables AND Session Parameters in REAL TIME.

2066