how to check for updates ubuntu command line code example
Example 1: sudo update
sudo apt-get update && sudo apt-get upgrade
Example 2: update linux command
# "To update Linux type:"
sudo apt-get update
# Enter your user's password.
sudo apt-get update && sudo apt-get upgrade
# "To update Linux type:"
sudo apt-get update
# Enter your user's password.