I am new to Ubuntu and I found that there
sudo apt update && sudo apt upgrade #1
sudo apt-get update && sudo apt-get upgrade #2
what is the difference between them, I haven't found much information about the first command but plenty of explanation on What is the difference between apt-get update and upgrade?
apt updateshows the number of upgradeable packages (if any). – fkraiem Nov 08 '19 at 09:08aptis newer with some nice shiny features that does most of what much olderapt-getdoes; but can't do everything, thusapt-getis still required for some less used functions. – guiverc Nov 08 '19 at 09:11