update and upgrade in linux code example
Example 1: update linux command
# "To update Linux type:"
sudo apt-get update
# Enter your user's password.
Example 2: update linux command
# "To update Linux type:"
sudo apt-get update
# To upgrade Linux
sudo apt upgrade
# For Both
sudo apt update && sudo apt upgrade -y