10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am having trouble getting mail to work on a red hat server. At first I was getting this message.
Diagnostic-Code: X-Postfix; delivery temporarily suspended: connect to :25: Connection refused
Then added the port to my firewall. Then I temporarily turned off selinux. I then copied this file... (1 Reply)
Discussion started by: cokedude
2. Shell Programming and Scripting
I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
3. Shell Programming and Scripting
I'm having some problems with my shell script. When running the script I get the following errors:
line 101: <html>: command not found
line 105: /dumpfile.txt: No such file or directory
The file dumpfile.txt does exist and I have double and tripple checked this. I'm not sure... (14 Replies)
Discussion started by: SalientAnimal
4. Shell Programming and Scripting
I have shell script which checks the filesystem check but does not send the mail. I might be missing something very simple.. could you please help?
_sub="Disk Space Report $(date)"
_mail=/usr/bin/mail... (5 Replies)
Discussion started by: Pandee
5. UNIX for Dummies Questions & Answers
How to send e-mail from shell script ( C shell ) . Mailx command is not working ( It didn't giving error also ). Please help me (2 Replies)
Discussion started by: arukuku
6. Shell Programming and Scripting
I want to send mail to multiple users..
Currently I am using below script
cat $STATUS_FILE|mailx -s "$SUBJECT" -r email@example.com $MAILTO
How can i give cc or bcc to in this script
Please help me
thanks in advance
RG (3 Replies)
Discussion started by: rgumm
7. Shell Programming and Scripting
I need to prepare a script which will check my database with specific to particluar table. If the row count exceeds a certain limit, i need to send a mail to a set of Recipients.
Being new to unix, please guide me to complete this task.
Sekar. (4 Replies)
Discussion started by: Sekar1
8. Shell Programming and Scripting
I have written a csh script which will output file named " myoutput.html " displayed below. I am tried to ftp this html file into a local web server so that it can be displayed to public sharing this server and i would want to add a hyperlink to " XX " , " YY " , " ZZ ". Can this be done... (17 Replies)
Discussion started by: Raynon
9. UNIX for Dummies Questions & Answers
I want to know, is there any e-mail client in linux which supports HTTP mail servers. i am using fedora2. as far as investigated or tried I only find POP or IMAP mail server configuration in mozilla mail, ximian and there were no option such as HTTP. I can easily see my e-mail while i am... (0 Replies)
Discussion started by: babayeve
10. UNIX for Dummies Questions & Answers
I'm trying to create a database monitoring script that reads an alert file and sends an error message if it can 'grep' a particular string.
Is there a way to send this message to a mail client using SMTP?
Even better, is there any place on this site that has these kinds of... (5 Replies)
Discussion started by: solaris73
SHAR(1) BSD General Commands Manual SHAR(1)
shar -- create a shell archive of files
shar file ...
shar writes an sh(1) shell script to the standard output which will recreate the file hierarchy specified by the command line operands.
Directories will be recreated and must be specified before the files they contain (the find(1) utility does this correctly).
shar is normally used for distributing files by ftp(1) or mail(1).
To create a shell archive of the program ls(1) and mail it to Rick:
shar `find . -print` | mail -s "ls source" rick
To recreate the program directory:
<delete header lines and examine mailed archive>
compress(1), mail(1), tar(1), uuencode(1)
The shar command appeared in 4.4BSD.
shar makes no provisions for special types of files or files containing magic characters.
It is easy to insert trojan horses into shar files. It is strongly recommended that all shell archive files be examined before running them
through sh(1). Archives produced using this implementation of shar may be easily examined with the command:
egrep -v '^[X#]' shar.file
June 6, 1993 BSD