Above the simple script which gives me report when i run it everyday, but now i need output for a month... Am sorry this could be simle but am ab handicap on shel scrpit.. need help.for i in 1 2 3 4 5;do echo boxname$i;ssh lms@boxname$i df -kh | grep s +an; done > commandout.txt mail -s "Auto Diskspace check" emailid@xyz.com < output.txt
20090210 Janitored by Corion: Added formatting, code tags, as per Writeup Formatting Tips
In reply to Re^5: Unix disk space reports
by Anonymous Monk
in thread Unix disk space reports
by halxd2
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |