#!/bin/bash # 5MB added to the amount of required disk space to make sure the update(s) # are not installed if it will result in no space being left after completion. available=$(df / | tail -1 | awk '{print $3}') required=$((294126+5120)) #if [ $available -gt $spacereq ] if [ 10 -gt 4 ] then echo "Yes" echo "Works great" fi