Search Results

Search: Posts Made By: jaiseaugustine
9,688
Posted By jaiseaugustine
IMO, the first command will not work because the...
IMO, the first command will not work because the o/p of 'find' command is not piped in any way to the exec command. But the second and third should work for sure.
I wasn't sure about the -delete'...
9,688
Posted By jaiseaugustine
Go to the main directory and run find . -name...
Go to the main directory and run find . -name "*.back" -type f -exec rm -f {} \;
1,021
Posted By jaiseaugustine
Hi, You can use the following code also. ...
Hi,
You can use the following code also.


#!/bin/ksh

FS=`/usr/sbin/df -k /var | /usr/bin/tail -1 | /usr/bin/awk '{print $5}' | cut -d % -f1`
if [ $FS -gt 90 ]
then
mailx -s "Filesystem...
1,685
Posted By jaiseaugustine
Try This, echo text_to_send | mailx -s...
Try This,

echo text_to_send | mailx -s "subject" email@email.co.email
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy