unix script [message #97180] |
Mon, 07 January 2002 12:09 |
Kane
Messages: 15 Registered: November 2001
|
Junior Member |
|
|
Hello:
Anyone know what this line does:
mailx -s "Errors found in routine DB checkup - $ORACLE_SID" "ABC@hotmail.com" > /dev/null
what does /dev/null achieve?
kane
|
|
|
Re: unix script [message #97181 is a reply to message #97180] |
Mon, 07 January 2002 23:38 |
Hrudananda Baral
Messages: 12 Registered: October 2001
|
Junior Member |
|
|
It basically writes to the temp directory if any error message comes out of the statement.
that null directory is simply links to the /device/pseudo/mm@:null location.
This is to avoid any error to interfere on the next line processing of the script.
Not to worry about that.
Cheers
|
|
|
|
|