Last active
November 3, 2018 01:07
-
-
Save changeme/9b19bf010289f9e2dcce26dd286a00c0 to your computer and use it in GitHub Desktop.
Limpiar /boot en Ubuntu cuando esta al 100%
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 | |
sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -v `uname -r` | while read -r line; do sudo apt-get -y purge $line;done | |
sudo apt-get -y autoremove; sudo update-grub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment