27 March 2013

Ubuntu Cleanup: Remove all unsused Linux Kernel Header.

Just simply copy and paste the following command:

dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d' | xargs sudo apt-get -y purge
Reboot your Ubuntu to see the result.
5 Kamil Alta: Ubuntu Cleanup: Remove all unsused Linux Kernel Header. Just simply copy and paste the following command: dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\...

No comments:

Post a Comment

< >