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 are roles and groups and benefits of using them?

569


draw informatica architecture 8.6 ?

3469


How do you convert single row from source into three rows into target?

605


Explain is there any way to read the ms excel datas directly into informatica? Like is there any possibilities to take excel file as target?

633


What is xml source qualifier transformation in informatica?

714






what are 3 tech challenges/ common issues you face?

1891


Hello , I am unable to work with SQL transformation at least. Where do i need to give connection for sql transformaton ? At session level there is no property . I have created a SQL Transformation and chosen query mode. But do i need to pass connection information to it ? I don't know where do i need to write a query ? I have written a query in file and that file path i gave in the properties of SQL Transformation. But it is not working. Could any one of you please let know how can i work with SQL Transformation? Advance Thanks.

2326


What is data movement mode in Informatica and difference between them?

619


How do you load only null records into target? Explain through mapping flow.

1507


explain abt ur project architecture?

1763


what is informatica metadata?

602


Explain the mapping variable usage example in informatica

635


How can we improve session performance in aggregator transformation?

674


what is song in infrmatica...?

1676


What are the uses of etl tools?

647