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
On which interface you will be working as a developer?
Differentiate between hash file and sequential file?
What is the difference between informatica and datastage?
how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?
Where do the datastage jobs get stored?
Define orabulk and bcp stages?
What is the difference between the local container and shared container?
Explain how a source file is populated?
how to implement scd2 in datastage 7.5 with lookup stage
What is the difference between datastage and datastage tx?
How to read multiple files using a single datastage job if files have the same metadata?
How do you start developing a datastage project?
Name the command line functions to import and export the DS jobs?
What are the components of datastage?
Hi All , in PX Job I have passed 4 Parameters and when i run the same job in sequence i dont want to use those parameters , is this possible if yes then how