kali linux update for latest version code example
Example 1: update kali
apt-get update && apt-get upgrade
Example 2: kali linux upgrade to new version
sudo apt update && sudo apt full-upgrade -y
apt-get update && apt-get upgrade
sudo apt update && sudo apt full-upgrade -y