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
What are some examples of informatica etl programs?
If I have 10 flat files with same name abc.txt files with different timestamps as source I need to load them in tgt table oracle. in between job execution fails and rows are not loaded into tgt. how can I make them load in that target even if my job fails?
What is aggregator transformation in informatica?
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.
What are the issues you have faced in your project? How did you overcome those issues?
What are the prerequisite tasks to achieve the session partition?
What are the new features of informatica 9.x developer?
What is a code page?
How to create or implement slowly changing dimension (SCD) Type 2 Effective Date mapping in informatica/Flagging mapping in informatica/visioning mapping in informatica?
What are session parameters ? How do you set them?
How we can create indexes after completing the loan process?
Design time, run time. If you don't create parameter what will happen
Which is the t/r that builts only single cache memory?
What differs when we choose the sorted input for aggregator transformation?
What is dynamic cache?