Home » Infrastructure » Unix » unix script
unix script [message #97180] Mon, 07 January 2002 12:09 Go to next message
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 Go to previous messageGo to next message
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
Re: unix script [message #97288 is a reply to message #97181] Mon, 25 February 2002 10:15 Go to previous messageGo to next message
Shailesh Patel
Messages: 2
Registered: February 2002
Junior Member
Please guide me where can I find the details information how to write Unix script?
Re: unix script [message #97391 is a reply to message #97180] Fri, 12 April 2002 04:21 Go to previous message
israel
Messages: 1
Registered: April 2002
Junior Member
i want to make socket between pc that emolate x-term with server that run with unix software
Previous Topic: Oracel for Solaris 8 Intel
Next Topic: Re: ftp script
Goto Forum:
  


Current Time: Tue Nov 26 17:03:28 CST 2024