~cyplo/dotfiles

ref: 83ddcc09dc68389b129d598722eca9e90a6dff33 dotfiles/tools/remove_old_kernels -rwxr-xr-x 177 bytes
83ddcc09 — Cyryl Płotnicki remove broken i3 msg call 1 year, 10 months ago
                                                                                
1
2
3
4
#!/bin/bash
sudo apt-get remove -y $(dpkg -l|egrep '^ii  linux-(im|he)'|awk '{print $2}'|grep -v `uname -r`)
sudo apt-get install -y linux-image-generic
sudo apt-get autoremove