Read User Input and switch
while true; do
read -p "Please Choose Your Target" input
case $input in
[1]) myVar="A"; break;;
[2]) myVar="B"; break;;
* ) echo "Please Choose Your Target";;
esac
done
String contact
a='hello'
b='world'
c=$a$b
echo $c
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-8.html#ss8.2
http://tldp.org/LDP/abs/html/complexfunct.html
http://stackoverflow.com/questions/6212219/passing-parameters-to-a-bash-function