09-20-2017
Are you the administrator of this system? If you are, the easiest place to start would be installing and configuring 'ssmtp', an email "server" which is actually an email client and just logs into some other email account.
If you're not the administrator, you're stuck with begging them to install it or hacking up a script which uses whatever email client your system has available.
Instructions for either of these depend on what your system is, what is it?
These 2 Users Gave Thanks to Corona688 For This Post:
4 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I need to code a script, which will run via cron, every 30 minutes.
The script will read a file containing a date&time and number (which represents disk space). The file gets appended to every 30 minutes. Here's a sample of the file:
CPU 1:04/25/02 1:00 am:1972554
CPU 1:04/25/02 1:30... (1 Reply)
Discussion started by: moon
1 Replies
2. Shell Programming and Scripting
Hello,
I want a script that will scan the file /etc/httpd/conf/httpd.conf and the folder /etc/httpd/libexec/
-bash-2.05b# grep mod_r /etc/httpd/conf/httpd.conf
LoadModule rewrite_module libexec/mod_rewrite.so
AddModule mod_rewrite.c
-bash-2.05b#
-bash-2.05b# find... (4 Replies)
Discussion started by: fed.linuxgossip
4 Replies
3. Shell Programming and Scripting
This is my first time writing a script and Im having some trouble,
Im trying to use the top command to monitor processes and the amount of CPU usage they require, my aim is to get an email if a process takes over a certain percentage of CPU usage
I tried grep
Obviosly that hasnt worked,
Any... (8 Replies)
Discussion started by: jay02
8 Replies
4. UNIX for Beginners Questions & Answers
Hi There
I have to wrote a script where I am able to echo a result of an SQL script, however I want to be able to send an email to myself when it is more than 0 (so whenever a value is returned) is this possible?
I tried one way from looking on the web but this didn't work, I have added my... (8 Replies)
Discussion started by: simpsa27
8 Replies
intro(1) General Commands Manual intro(1)
NAME
intro - Introduction to commands
DESCRIPTION
Section 1 describes the commands available for all Tru64 UNIX users.
Some reference pages in this section may contain suffixes to allow their files to exist with those of other reference pages having the same
base name and section number. When used, suffixes are made up of one to four letters. See the man(1) reference page for more information
on suffixes.
Commands related to system maintenance appear in Section 8.
ERRORS
On termination, each command returns two bytes of status, one supplied by the system giving the cause for termination and, in the case of
normal termination, one supplied by the program. For more information, see exit(2). The first byte is 0 for normal termination; the sec-
ond byte is customarily 0 for successful execution. A nonzero status indicates a problem, such as erroneous parameters, or bad or inacces-
sible data. The status value is called variously exit code, exit status, or return code, and is described explicitly on reference pages
only when special conventions apply.
SEE ALSO
Commands: man(1)
Functions: exit(2)
intro(1)