Recently I found that the server is very slow every time apt upgrade,The reason,There are still a lot of unused kernels that have to be regenerated every time,Encountered a problem while cleaning up,*Number matching does not take effect,You must manually enter the full kernel name each time to uninstall it。
Found after stepping on the pit,It turned out to be because I used zsh,and zsh The default is not supported * No. wildcard! It’s easy to turn on this feature,Find your zsh configuration file we ~/.zshrc [……]