On Feb 4 David A. Bandel was heard saying: ->On Mon, 04 Feb 2002 17:51:45 -0600 ->begin Michael Hipp <[EMAIL PROTECTED]> spewed forth: ->
<snip> ->> What is the easiest way to send a simple text email from the command ->> line? *** Is this related to geting information from your server that's behind NAT? In that case make a script which will write the output of what you want to see in a a text file and mail it with: #!/bin/bash echo "=> df output <=" > /tmp/output.txt df >> /tmp/output.txt echo "=> ps output <=" >> /tmp/output.txt (=> etc...) ps -aux >> /tmp/output.txt free >> /tmp/output.txt tail --lines=50 /var/log/messages >> /tmp/output.txt dmesg >> /tmp/output.txt mail -s "Info my clients server" [EMAIL PROTECTED] < /tmp/output.txt This is just to get you going, I spent 0 sec. testing it... ;-) Cheers, Zoran. -- If you find me, please return me to my $HOME: my address is 'cd'. _______________________________________________ Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.