02-24-2012
This User Gave Thanks to daWonderer For This Post:
10 More Discussions You Might Find Interesting
1. Programming
hi all
How do I send email from command prompt?
i tried this
# mutt -s "Test mail" -a /root/Desktop/email1.txt XXXXX@yahoo.co.in < /root/Desktop/email.txt
Error sending message, child exited 71 (Operating system error.).
Segmentation fault
#
and also
root@localhost ~]# /bin/mail -s "what... (0 Replies)
Discussion started by: munna_dude
0 Replies
2. UNIX for Dummies Questions & Answers
Hey Guys,
I have been trying to send a email as ccto a email ID .However it seems the -c option is not working in HP UX system.
It is shooting an error as "mailx: illegal option -- c"
My script isin the below manner:
mailx -c EMAIL_IDS_CC# -s 'BDC reminder' -r sender@email.com... (1 Reply)
Discussion started by: rohit.shetty84
1 Replies
3. Shell Programming and Scripting
Help with script that will check log, then find a match is found, add that as the subject line.
1. The script will always run as a deamon.. and scan the event.log file
2. when a new 101 line is added to the event.log file, have the script check position 5,6 and 7 which is the job name, which... (2 Replies)
Discussion started by: axdelg
2 Replies
4. Shell Programming and Scripting
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Discussion started by: nairshar
2 Replies
5. Shell Programming and Scripting
Hi !
I am a newbie and never officially wrote a shell script before.
The requirement for this script is :
1) Read a file called 'bpm.log' and identify if it has a specific text such as 'this is the text'. Its a static value and that is the only text we need to read.
2) If that... (2 Replies)
Discussion started by: atechcorp
2 Replies
6. Shell Programming and Scripting
Hello all
I'm trying to write a script to send an email, so I can be nnotified when something is going wrong with my system.
I've tried many options with no luck:
mail -s "You've got mail" somebody@example.com
echo "Mail Body" | mail -s "Subject" somebody@example.com
I tried also to... (1 Reply)
Discussion started by: samer.odeh
1 Replies
7. Shell Programming and Scripting
Hello Unix Experts!
We are on AIX 6.1 TL6
I am trying to develop a script that does the following:
It should send the output of "df -g /directory/folder" command as an email to a user(someone@company.com)
This is too simple and i can research on how to do it, but it would be great if... (2 Replies)
Discussion started by: atechcorp
2 Replies
8. Shell Programming and Scripting
I am currently try to write a simple script with the following condition, but so far not having luck as the exit code would always be 0.
Run remote command to read a file and grep for test word.
if test word is in the file, send email.
if not, do nothing
also possible to ssh to multiple... (3 Replies)
Discussion started by: jaapar
3 Replies
9. Shell Programming and Scripting
Hello Experts,
Greeting to all of you.
I have a requirement, that we have a shell script status.sh
that check the status of server and server status shows as status.sh
Enterprise Server - Running
Admin Server - Shutdown
Requirement is like whenever the output shows shutdown it should... (2 Replies)
Discussion started by: aks_1902
2 Replies
10. UNIX for Beginners Questions & Answers
Hello Forum,
I'm making very good progress on my report thanks to the very helpful people on this forum. I've been able to successfully create my report for my Red Hat servers. But I do have a few ubuntu servers in the mix and I'd like to capture some data from them when an ssh connection is... (8 Replies)
Discussion started by: greavette
8 Replies
LEARN ABOUT DEBIAN
ez-ipupdate
EZ-IPUPDATE(8) Dynamic DNS client EZ-IPUPDATE(8)
NAME
ez-ipupdate - dynamic DNS client
SYNOPSIS
ez-ipupdate [options]
DESCRIPTION
This manual page documents briefly the ez-ipupdate dynamic DNS client.
OPTIONS
ez-ipupdate follows the usual GNU command line syntax, with long options starting with two dashes (`-').
-a, --address <ip address>
string to send as your ip address
-b, --cache-file <file>
file to use for caching the ipaddress
-c, --config-file <file>
configuration file, almost all arguments can be given with: <name>[=<value>] to see a list of possible config commands try "echo
help | ez-ipupdate -c -"
-d, --daemon
run as a daemon periodicly updating if necessary
-e, --execute <command>
shell command to execute after a successful update
-f, --foreground
when running as a daemon run in the foreground
-F, --pidfile <file>
use <file> as a pid file
-g, --request-uri <uri>
URI to send updates to
-h, --host <host>
string to send as host parameter
-i, --interface <iface>
which interface to use
-L, --cloak_title <host>
some stupid thing for DHS only
-m, --mx <mail exchange>
string to send as your mail exchange
-M, --max-interval <# of sec> max time in between updates
-N, --notify-email <email>
address to send mail to if bad things happen
-o, --offline
set to off line mode
-p, --resolv-period <sec>
period to check IP if it can't be resolved
-P, --period <# of sec>
period to check IP in daemon mode (default: 1800 seconds)
-q, --quiet
be quiet
-r, --retrys <num>
number of trys (default: 1)
-R, --run-as-user <user>
change to <user> for running, be ware that this can cause problems with handeling SIGHUP properly if that user can't read the config
file. also it can't write it's pid file to a root directory
-Q, --run-as-euser <user>
change to effective <user> for running, this is NOT secure but it does solve the problems with run-as-user and config files and pid
files.
-s, --server <server[:port]>
the server to connect to
-S, --service-type <server>
the type of service that you are using try one of: null ezip pgpow dhs dyndns dyndns-static dyndns-custom ods tzo easydns easydns-
partner gnudip justlinux dyns hn zoneedit heipv6tb
-t, --timeout <sec.millisec>
the amount of time to wait on I/O
-T, --connection-type <num>
number sent to TZO as your connection type (default: 1)
-U, --url <url>
string to send as the url parameter
-u, --user <user[:passwd]>
user ID and password, if either is left blank they will be prompted for
-w, --wildcard
set your domain to have a wildcard alias
-z, --partner <partner>
specify easyDNS partner (for easydns-partner services)
--help display this help and exit
--version
output version information and exit
--credits
print the credits and exit
--signalhelp
print help about signals
AUTHOR
This manual page was written by Sam Hocevar <sam@zoy.org> for the Debian GNU/Linux system (but may be used by others).
ez-ipupdate - 3.0.11b7 February 2003 EZ-IPUPDATE(8)