#!/bin/bash echo "Input yes / no" read INPUT if [ -z $INPUT ] then echo "Syntax: is this" exit fi if [ $INPUT = "yes" ] then echo "complete" exit 1 else echo "failed" exit 1 fi