update 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
Example 3: linux os update
sudo do-release-upgrade