9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Wondering if anyone can point me to an example of how to setup a bash script that executes cp mv and rsync commands and only sends an email if there were errors with any of those commands and what the errors are. In addition it should email if the cron event to execute the script fails, or in... (1 Reply)
Discussion started by: consultant
1 Replies
2. UNIX for Advanced & Expert Users
Anyone know of a way shorten a Cmnd_Alias when multiple similar commands are used? For example, I need to grant access to /usr/bin/systemctl start <service>, /usr/bin/systemctl stop <service>, /usr/bin/systemctl restart <service>, and /usr/bin/systemctl status <service>. I think there is a way to... (1 Reply)
Discussion started by: ducet8
1 Replies
3. Solaris
I cannot solve the following error bellow.
Can someone help me on this please?
Mar 31 07:08:45 serverx sudo: fork
Mar 31 07:18:50 serverx sudo: fork
Mar 31 07:28:45 serverx sudo: fork
Mar 31 07:38:47 serverx sudo: fork
Mar 31 07:48:45 serverx sudo: fork
Mar 31 07:58:45 serverx... (1 Reply)
Discussion started by: pangarano
1 Replies
4. Shell Programming and Scripting
I have a file named email.html with this as the contents:
Content-type: text/html
ACHI,ACCRETIVE HEALTH ,7.15,<br>CPRT,Copart Inc.,36.14,<br>GEOB.MX,GEO-B,1.660,<br>GCO,Genesco Inc. Comm,73.58,<br>GMAN,Gordmans Stores, ,<br>GES,Guess? Inc. Comm,26.45,<br>KBR,KBR Inc. Common... (1 Reply)
Discussion started by: phpchick
1 Replies
5. Solaris
We want to get a notification for all unauthorized sudo access via e-mail to our team DL .. whats the way to do it ? (1 Reply)
Discussion started by: fugitive
1 Replies
6. Shell Programming and Scripting
HI
I want to get an e-mail @ my yahoo address when the file system used space gets more than 89% ,
& the message contents must be the outputs of
df -g
errpt
netstat -i
??????? (3 Replies)
Discussion started by: majd_ece
3 Replies
7. Solaris
Hi,
I am doing sftp from remote server1 to remote server2. This is done through a script.
This script was working fine. But if i am tranfer files of 120 MB only some part of the file gets transferred (around 9 MB).
Incase i put the same file manually it gets uploaded successfully.
Can... (1 Reply)
Discussion started by: subiksha
1 Replies
8. UNIX for Dummies Questions & Answers
my shell script is simple arithmetic process.my addtion,substract and divide all can be worked only except multiplication.please help me.the shell is following:
#!/usr/bin/sh
echo "enter a number1:"
read number1
echo "enter an operator:"
read operator
echo "enter a number2:"
read number2... (4 Replies)
Discussion started by: sonicstage
4 Replies
9. Solaris
Hi ,
I need to have a monitoring system also I wanna have E-Mail Notification .or SMS notification to be on touch with my System : ) ...
Regards
Adel (1 Reply)
Discussion started by: ArabOracle.com
1 Replies