CLI system updates - little script help...

view story

http://www.kubuntuforums.net – I know many of us prefer the CLI to do updates - better feedback. I had taken to building aliases for the commands to shorten the typing. The other day I thought "why not a little script to do this?" I am not a programmer but I gave it a go. Feedback and enhancements desired: Code: #! /bin/bash # functions function quit {   echo "Quiting..."   exit } function badinput {   echo "Invalid responce, please try again." } function update {   echo "Updating..."   sudo apt-get update   break } function upgrade {   echo (HowTos)