├── bash_cleanup.sh └── README.md /bash_cleanup.sh: -------------------------------------------------------------------------------- 1 | #! /usr/bin/bash 2 | 3 | sudo apt-get autoremove -y 4 | sudo apt autoremove -y 5 | sudo apt autoremove --purge 6 | sudo apt autoclean -y 7 | sudo apt --fix-broken install 8 | sudo apt-get clean 9 | sudo rm -rf /tmp/* 10 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # linux_disk_cleanup 2 | This bash script will helpful to cleanup your linux disk / Linux enviornment. 3 | It require sudo permission to execute. It will cleanup your old kernals, temporary files, broken installations etc.. in safe manner. 4 | --------------------------------------------------------------------------------