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

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

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

lookup transformation with screenshots

4053


How can you differentiate between powercenter and power map?

1144


Explain what are the different types of transformation available in informatica. And what are the mostly used ones among them?

1100


What is confirmed fact in dataware housing?

7113


How an expression transformation differs from aggregator transformation?

1092


I want my deployment group to refer an external configuration file, while i deploy in the production environment. How can i achieve it.

2119


Describe an informatica powercenter?

1200


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

1137


What is the format of informatica objects in a repository?

1081


As union transformation gives UNION ALL output, how you will get the UNION output?

1163


In how many ways we can create ports?

1165


What is dimensional table? Explain the different dimensions.

1258


Tell me about MD5 functions in informatica

983


Tell me about Propagate functions in informatica

980


What is the surrogate key?

1370