egrep 'ORA-|EXP-' /fiscdv/tdbs/prod/exports/DBNAME/u01/data_pump_DBNAME/
expdp_schema.log |sort -u | mailx -s "Body of this mail will contain details if Errors in Export - servername DBNAME" Harsha@email.com
cat /fiscdv/tdbs/prod/exports/DBNAME/u01/data_pump_DBNAME/expdp_schema.log | mailx -s "USERNAME Oracle Export - servername DBNAME - Completed Successfully" Harsha@email.com
grep 'Word' filename
grep 'word' *
No comments:
Post a Comment