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 the difference between orabulk and bcp stages?
What are the different options associated with dsjob command?
What are the types of containers and how to create them?
Define oconv () and iconv () functions in datastage?
How many types of hash files are there?
hi iam new to this tooliam cmpltied to know abt datastage so now iam in project tell me whole step by step what iam doing iwnt to go with exp so plz hlp me pals
How to implement complex jobs in data stage?
Explain Quality stage?
how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?
How to find value from a column in a dataset?
What is "fatal error/rdbms code 3996" error?
State the difference between an operational datastage and a data warehouse?
Why we use surrogate key?
Describe the architecture of datastage?
What is usage analysis in datastage?