if Statement in Shell Script
if Statement in Shell Script Simple form: if decision_command_1 then command_set_1 fi Example: if grep unix myfile >/dev/null then echo “It’s there” fi
if Statement in Shell Script Simple form: if decision_command_1 then command_set_1 fi Example: if grep unix myfile >/dev/null then echo “It’s there” fi