Created
January 27, 2018 03:20
-
-
Save CitizenOfRome/ec2014186ecacc47073f773a723ce299 to your computer and use it in GitHub Desktop.
To overcome the `gzip: stdout: No space left on device` /boot full errors on ubuntu
This file contains hidden or 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
sudo dpkg --list 'linux-image*'|awk '{ if ($1=="ii") print $2}'|grep -vuname -r| while read -r line; do sudo apt-get -y purge $line;done;sudo apt-get autoremove; sudo update-grub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment