#!/bin/bash rage=$(df-h|grep"/dev/sda5"|awk'{print$5}'|cut-d"%"-f1) if[$rage-ge10] then echo"/dev/sda5isfull!!!!" fi