10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
Need help in identifying a shellscript command to remove all files on a server directory, starting with a certain prefix and also older than 3 days.
That means files created with that prefix, today or yesterday, shouldn't be removed.
Thanks,
Dev (3 Replies)
Discussion started by: dev.devil.1983
3 Replies
2. Shell Programming and Scripting
Hi,
i have run the below script in bash ...after running this command iam not getting any error but i am not getting the mail.Can anybody help me regarding this issue?
#! /bin/bash
x=50
if
then
mail -s "$x is greater than 25" manish.gupta@gmail.com
fi (2 Replies)
Discussion started by: pspriyanka
2 Replies
3. Shell Programming and Scripting
Hi,
I am able to send email from AIX using the following command.
cat email.txt | mail -s "Mail Subject" venkat@gmail.com
Our requirement is send email with cc and bcc option.
We are getting email with from email address as our UNIX server user.
We would like to change that, please let us know... (2 Replies)
Discussion started by: vfrg
2 Replies
4. Shell Programming and Scripting
I have a file (test.dat) which contains data like this
459|199811047|a |b |shan
kar|ooty|
460|199811047|a |bv |gur
u|cbe|
but I need it like:
459|199811047|a |b |shankar|ooty|
460|199811047|a |b |guru|cbe|
While reading the data from this file, I don't want to remove newline from the end of... (4 Replies)
Discussion started by: jcrshankar
4 Replies
5. Shell Programming and Scripting
Hi,
At present we have been using the mailx command which is working perfectly and the command is as follows;
mailx -s "$DESCR1" -c $DLIST_CC -r $REPLY $DLIST
We would like to add a Blind carbon copy "Bcc" in this mailing list using mailx. Please let us know how this can be done in ksh. (2 Replies)
Discussion started by: jmathew99
2 Replies
6. UNIX for Advanced & Expert Users
Hello Everyone,
I'm using UNIX 5.3, I'm using command line mailx or mail command to send emails to multiple email addresses and i need to include bcc (background corbon copy). Some Manuals says i can use -b flag to send to bcc but my unix does not recognize the flag "-b". And some manuals says... (2 Replies)
Discussion started by: aravindbachu
2 Replies
7. UNIX for Advanced & Expert Users
Can anyone tell me how to add bcc or cc email address to mail command? (1 Reply)
Discussion started by: aravindbachu
1 Replies
8. Shell Programming and Scripting
Hello Everyone,
I'm using UNIX 5.3, I'm using command line mailx or mail command to send emails to multiple email addresses and i need to include bcc (background corbon copy). Some Manuals says i can use -b flag to send to bcc but my unix does not recognize the flag "-b". And some manuals says... (1 Reply)
Discussion started by: aravindbachu
1 Replies
9. UNIX for Dummies Questions & Answers
Hi,
how to put some receipients for mail in bcc and some receipients in to. (2 Replies)
Discussion started by: prasee
2 Replies
10. UNIX for Dummies Questions & Answers
PS command doesnot display shellscript runningi have written a small shel script to check for
idsk space and log it to a file evry 300s.this so this
run is a loop.
But i want to start stop this script from another script
using ps -ef grep
but ps -ef is not displaying the script in output, if i... (1 Reply)
Discussion started by: mpauls
1 Replies