Search Results

Search: Posts Made By: ziminski
2,264
Posted By ziminski
Or : if [[ $? -eq 0 ]] ; then echo "Success "...
Or :
if [[ $? -eq 0 ]] ; then
echo "Success " >> $LOG
else
echo $? " return value of $? Some failure " >> $LOG
exit 1
fi
1,841
Posted By ziminski
Basically you have the answer in the ftp_log...
Basically you have the answer in the ftp_log file. Either cat it into the mail message, or grep out the parts from the log and add that to the mail message. I typically send the whole ftp log sd it's...
20,146
Posted By ziminski
not tested but how about like this: find ....
not tested but how about like this:
find . -name '*.txt' | `expr substr {} 5 9`|mv {}.txt
Where 5 is starting position and 9 is the number of chacters after the starting position.
24,862
Posted By ziminski
here's a start find ./ -depth -type f -ctime -1...
here's a start
find ./ -depth -type f -ctime -1 -print > LIST

man find and check out ctime

Rick
2,141
Posted By ziminski
Try editing your /etc/ntp.conf
Try editing your /etc/ntp.conf
Showing results 1 to 5 of 5

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