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

What is event and what are the tasks related to it?

1086


can we override a native sql query within informatica? Where do we do it? How do we do it?

1031


What is expression transformation?

1061


Explain the features of connected and unconnected lookup.

907


What is joiner change?

1108


How to implement security measures using repository manager?

1122


I have worked on Informatica 7.1.1. I want to know the answer for the below question. Target is not created initially.Then how to take the DDL script from the source and run the Mapping by creating the Target dynamically?Is it possible by SQL Transformation?

1876


What is an expression transformation?

985


lookup transformation with screenshots

3967


Under what condition selecting sorted input in aggregator may fail the session?

1088


What are the issues you have faced in your project? How did you overcome those issues?

2319


I have 100 records in source table, but I want to load 1, 5,10,15,20…..100 into target table. How can I do this? Explain in detailed mapping flow.

1650


Write the unconnected lookup syntax?

1053


scenario where i can use only concurrent execution of workflow.

3105


What is the use of an aggregator cache file?

1161