+
echo $#
+echo $@
+echo $?
+
+
+cat <<'EOF'
+$# = number of arguments.
+$@ = what parameters were passed.
+$* = what parameters were passed.
+$? = was last command successful. Answer is 0 which means 'yes'
+EOF
+
+
+
+cat << FOE > testfile.sh
+#!/bin/bash
+RUSER=$1
+ID=$2
+SERVICE=$3
+SERVICE_STACK=$4
+VNCport=$5
+RREPLICAS=$6
+RREGION=$7
+TTYport=$8
+PASSWORDrw=$9
+PASSWORDview=${10}
+GIT_TUTOR=${11}
+REBOOT=${12}
+USERscope=${13}
+FOE
+chmod +x ./testfile.sh
+
+#./testfile.sh
+#
+cat << 'FOE' > testfile1.sh
+#!/bin/bash
+RUSER=$1
+ID=$2
+SERVICE=$3
+SERVICE_STACK=$4
+VNCport=$5
+RREPLICAS=$6
+RREGION=$7
+TTYport=$8
+PASSWORDrw=$9
+PASSWORDview=${10}
+GIT_TUTOR=${11}
+REBOOT=${12}
+USERscope=${13}
+FOE
+chmod +x ./testfile1.sh
+