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