#!/bin/bash rage=$(df -h | grep "/dev/sda5" | awk '{print $5}' | cut -d "%" -f 1) if [ $rage -ge 10 ] then echo "/dev/sda5 is full !!!!" fi