First command

The command is used for package management in Debian-based Linux systems. It updates the package lists with the latest versions of the packages and upgrades installed packages to their latest versions automatically without requiring user confirmation (-y flag). The use of both apt and apt-get commands serves similar functions but, generally, apt is more user-friendly and recommended for most users.

apt update -y && apt upgrade -y && apt-get update -y && apt-get upgrade -y  
apt install sudo git wget curl 

Last updated