I am very new to bash scripts, and for my first script attempt I am submitting files to my professor\'s dropbox within the same server.
The code is this:
echo "Submit lab$1?" read choice echo "Send to Prof's dropbox" cp -rv /path/to/lab$1 /path/to/dropbox &>/dev/null [ $? -eq 0 ] && { #success, do something } || { #fail, do something }
And so on...