Skip to content

Instantly share code, notes, and snippets.

@RaDeleon
Last active October 28, 2019 19:33
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save RaDeleon/37e38d5a0116843a32f3 to your computer and use it in GitHub Desktop.
Save RaDeleon/37e38d5a0116843a32f3 to your computer and use it in GitHub Desktop.
Kali Linux 2.0 Auto Update and Upgrade script to apt-get update and upgrade in one shot and run apt-autoclean.
#!/bin/bash
clear
echo -e "K@l1 L1N4X upd4t3 $cr1pt"
echo "Press ENTER to continue, CTRL+C to abort."
read input
echo -e "\e[1;36m[+] Updating Kali. Please wait.\e[0m"
apt-get update -y > /dev/null && apt-get upgrade -y > /dev/null && apt-get dist-upgrade -y > /dev/null
echo -e "Kali is now up to date.\n"
echo -e "\e[1;36m[+] Cleaning Kali. Please wait.\e[0m"
apt-get autoclean -y > /dev/null && apt-get clean -y > /dev/null
echo -e "\e[1;36m[+] Kali is now less dirty...Follow me on Twitter @radeleon415"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment