#!/bin/bash rage=$(df-h|grep"/dev/sda5"|awk'{print$5}'|cut-d"%"-f1) if[$rage-ge10] then echo"/dev/sda5isfull!!!!" fi原文链接:https://www.f2er.com/bash/392826.html
#!/bin/bash rage=$(df-h|grep"/dev/sda5"|awk'{print$5}'|cut-d"%"-f1) if[$rage-ge10] then echo"/dev/sda5isfull!!!!" fi原文链接:https://www.f2er.com/bash/392826.html