grub-editenv list

Category: Administration

grub-editenv list

Show the GRUB environment block variables

Prints variables stored in the GRUB environment block, such as saved_entry which records the last chosen menu entry. The environment block is a small file that survives reboots and lets GRUB scripts persist state. Use it with grub-reboot or grub-set-default to control which entry boots.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.