Hi All,
I have a script that run every night to check disk space.
echo "Warning: Disk with 70%~79% used" && df -k | grep [7].%
I want the echo should go out only if there's a FS usage findings of 70%+. I want a simple shell script, not with if and then script.
Thank you for any comments you may add.