GRUB-EDITENV(1)
β¨ GRUB-EDITENV(1) β the grub-editenv glow-up π
okay bestie, sit down, grab a strawberry π, because today we're learning about grub-editenv from the User Commands collection (yes, that's the manual name, we're keeping it) β it's the tool that edits the GRUB environment block. lowkey iconic, no cap.
πΈ SYNOPSIS πΈ
grub-editenv [OPTION...] FILENAME COMMAND
like, that's the whole vibe: some OPTIONs, a FILENAME, and a COMMAND. periodt.
π¦ DESCRIPTION π¦
so this is literally the Tool to edit environment block. that's the job. that's the assignment. β¨
π Commands: π
createβ makes you a blank environment block file. fresh start energy, main character origin story π«Άlistβ shows you all the current variables. vibe check on your env πset [NAME=VALUE ...]β sets variables. you give itNAME=VALUEpairs, it does the thing πunset [NAME ...]β deletes variables. bye bestie, not me removing you π
π Options: π
-?,--helpβ give this help list. your little map of everything πΊοΈ--usageβ give a short usage message. the tl;dr version, fr fr-v,--verboseβ print verbose messages. it's giving "tell me everything" π£οΈ-V,--versionβ print program version. so you know exactly what you're dealing with β
π random but important: if FILENAME is-, then the default value/boot/grub/grubenvis used. dash = "just use the usual one", iykyk.
π and listen β there is nodeletecommand. nope. not a thing. if you want to delete the whole environment block, you literally userm /boot/grub/grubenv. that's the move. don't go looking for adeletecommand that doesn't exist, bestie, you'll be searching forever π
π§ REPORTING BUGS π§
found a bug? Report bugs to <bug-grub@gnu.org>. they wanna hear it, for real π
π₯ SEE ALSO π₯
also! the full documentation for grub-editenv is maintained as a Texinfo manual. if the info and grub-editenv programs are properly installed at your site, then this command:
info grub-editenv
should give you access to the complete manual. go off, read the whole thing πβ¨
okay that's the whole page, you ate that ππ this was GRUB 2.12-1ubuntu7.3, dated March 2025 β catch you on the next manpage, bestie, mwah π«Άπ·
π¦ where this page comes from
- ubuntu noble: grub-common 2.12-1ubuntu7.3 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms