apt-get update in shell script code example Example: sudo update sudo apt-get update && sudo apt-get upgrade