diff --git a/tools/remove_old_kernels b/tools/remove_old_kernels new file mode 100755 index 00000000..5066c9a8 --- /dev/null +++ b/tools/remove_old_kernels @@ -0,0 +1,3 @@ +#!/bin/bash +sudo apt-get remove $(dpkg -l|egrep '^ii linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`) +