how to update bash in linux code example Example: update linux command # "To update Linux type:" sudo apt-get update # Enter your user's password.