how ubuntu install update linux 2021 code example
Example 1: update software in ubuntu
# Upgrades all applications
sudo apt-get upgrade
Example 2: ubuntu update
sudo -s -- <<EOF
apt-get update
apt-get upgrade -y
apt-get dist-upgrade -y
apt-get autoremove -y
apt-get autoclean -y
EOF