Answer Posted / subhash
1. patterns finding and replacing..
SED -n '1,$p' file_name ----> displays 1st & last line
SED -n '1,$d' file_name ----> deletes from O/P 1st & last
line. etc
2. First N records & last N records
HEAD -5
TAIL -5
3. to find word/line count in file
WC -l--- no of line
WC -w--- no of words count
4. AWK, FIND, CUT etc are also useful
Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is aggtorec restructure operator?
in oracle target stage when we use load option and when we use upsert option?
How to clean the datastage repository?
How to implement complex jobs in data stage?
what are .ctl(control files) files ? how the dataset stage have better performance by this files?
What all the types of jobs you developed?
What are some different alternative commands associated with "dsjob"?
What is a quality stage in datastage tool?
Describe the main features of datastage?
how to achieve this output ? Two Input columns(ID & Name) - ID | Name 1 | Jack 1 | Kara In output there should be only 1 column which will be populated as - 1,Jack 1,Kara
what are the devoleper roles in real time? plz tell i am new to datastage....
What are some prerequisites for datastage?
Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?
Where do you see different stages in the designer?
What is the use of datastage director?