This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run this script with: | |
# bash <(curl -s https://gist.githubusercontent.com/mikedixson/ab4365d7ff43c5fcbdaef9e4a5a186ac/raw/df8d4e298a0f1d9b34b134797f9993896db36970/ubuntu-ami-clean.sh) | |
function print_green { | |
echo -e "\e[32m${1}\e[0m" | |
} | |
print_green 'Clean apt' |