Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
# Hello World Program in Bash Shell
echo "Enter a charater:\c"
read var
case $var in
[ a-z ])
echo "Its a lower case variable"
;;
[ A-Z ]
echo "Its upper case"
;;
?)
echo "Special Charater"
;;
[ 0-9 ])
echo "A number"
;;
esac