処理を途中で終わらせる

#!/bin/sh

#標準入力
echo "Please type a command."
read command
if test "$command" = "quit"; then
	echo "good bye!"
	exit 0