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 a mapplet/worklet in informatica?

1194


In how many ways we can create ports?

1130


What is joiner transformation?

1016


What are the tasks that can be performed using sq?

1100


What are the different components of powercenter?

1055


What is DR strategy for Informatica project?

1195


What is the benefit of session partitioning?

1117


Is it possible to use a client with different version than that of its Informatica server?

1154


explain any diffcult scenario that u have faced in your experience... or explain any complex maping u have developed?

2169


What are the restrictions of union transformation?

1044


What is meant by pre and post session shell command?

1167


suppose in my source flatfile i have 10000 records in that some of master table records missed table records missed then what will u do

2129


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

1173


Write the prerequisite tasks to achieve the session partition?

1168


What is the difference between informatics 7x and 8x and what is latest version?

1090