EFI(1)

πŸ“¦
version 0.19 Β· 5 versions
, in ubuntu resolute

✨ EFI β€” bestie, it's bg_printenv ✨

okay so this is the man page for EFI, aka bg_printenv, from EFI Boot Guard, living in the User Commands corner of the manual. she's a little environment tool and she's here to tell you everything πŸ’–


🌸 SYNOPSIS 🌸

bg_printenv [OPTION...]

that's it. that's the whole vibe. options, and nothing but options. no positional args, no drama πŸŽ€


πŸ’… DESCRIPTION πŸ’…

bg_printenv β€” it's the Environment tool for the EFI Boot Guard. so basically: it reads the boot environment for you and prints it out. lowkey iconic.

  • -A, --all β€” search on all devices instead of just the root device. go wide, bestie 🌈
  • -c, --current β€” only print values from the current environment. no blasts from the past, only right now ✨
  • -f, --filepath=ENVFILE β€” the environment to use. expects a file name, and it's usually called BGENV.DAT. so like, hand her the actual file πŸ“
  • -o, --output=LIST β€” a comma-separated list of fields to print. the available fields are: in_progress, revision, kernel, kernelargs, watchdog_timeout, ustate, user. if you just... don't, then all available fields get printed. no filter, full transparency πŸ’œ
  • -p, --part=ENV_PART β€” set the environment partition to use. and if you don't specify one? she picks the one with the smallest revision value above zero. queen behavior πŸ‘‘
  • -r, --raw β€” raw output mode, like for shell scripting. no garnish, just data 🧚
  • -v, --verbose β€” be verbose. tell me EVERYTHING 😭
  • -?, --help β€” give this help list. the classic 🫢
  • --usage β€” give a short usage message. tiny version, cute version πŸŽ€
  • -V, --version β€” print version. who are you, where did you come from ⭐
real talk though: mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options. so don't get cute and think the short one plays by different rules β€” she does not πŸ™ˆ

πŸ¦‹ SEE ALSO πŸ¦‹

ngl there's no SEE ALSO section in this one, bestie. she stands alone. main character energy, periodt πŸ’…


and that's the whole page, no cap. this was EFI Boot Guard v0.19, from January 2025, filed under EFI(1). go forth and print your env, queen πŸ’–βœ¨πŸŒΈπŸ¦‹πŸŽ€

πŸ“¦ where this page comes from