if [ ! -d src ] then git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ src fi cd src make mrproper cp ../.config .config make -j$(nproc) bzImage cp arch/x86_64/boot/bzImage vmlinuz cd -