update and upgrade kali linux in virtualbox code example Example: how to update kali linux on virtualbox root@kali:~# apt update && apt -y full-upgrade