efibootmgr

Manipulate the UEFI Boot Manager.
More information.
efibootmgr
efibootmgr -v
sudo efibootmgr -c -d {/dev/sda1} -l {\EFI\tools\Shell.efi} -L "{UEFI Shell}"
sudo efibootmgr -o {0002,0008,0001,0005}
sudo efibootmgr -b {0008} --delete-bootnum
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
CC-BY