PIBOOTCTL-GET(1)

✨ NAME ✨

pibootctl-get β€” it's the get command from the pibootctl manual, bestie πŸ’– the little tool that tells you what your Raspberry Pi boot settings are currently set to.


πŸŽ€ SYNOPSIS πŸŽ€

pibootctl get [-h] [--json | --yaml | --shell] setting [setting ...]

🌸 DESCRIPTION 🌸

Okay so picture this: you wanna know the status of one or more boot configuration settings, right? That's literally what this does. πŸ¦‹

If you ask for a single setting, you just get that value back β€” nothing else, no extra chatter, just the value. Periodt.

If you ask for multiple values, you get both the setting names and the values. And this holds true no matter what output style you picked β€” the default one, JSON, YAML, or shell-friendly. πŸ’…


✨ OPTIONS ✨

  • setting β€” the name(s) of the setting(s) you wanna query, bestie. If you hand it a single setting, you get that value all on its own. If you query multiple settings, you get the names and the values. πŸ‘‘
  • -h, --help β€” shows you a brief help page for the command. tiny little snack of a flag πŸ“
  • --json β€” use JSON as the output format. 🧚
  • --yaml β€” use YAML as the output format. 🌈
  • --shell β€” use a var=value output format, suitable for the shell. iykyk πŸ’œ

🌟 USAGE 🌟

ngl the get command is primarily for the girlies building something on top of pibootctl β€” like, if you're writing tooling around it, this is your girl. But if you're just an end user who wants to peek at the current boot configuration? The status command is way more your vibe. 🫢

When you give it a single setting to query, the value of that setting gets output on its own, in whatever output style you selected:

$ pibootctl get video.overscan.enabled
on
$ pibootctl get --json video.overscan.enabled
true

When you give it multiple settings, the names and the values of those settings both get output:

$ pibootctl get serial.enabled serial.baud serial.uart
+----------------+-------------------------+
| Name           | Value                   |
|----------------+-------------------------|
| serial.baud    | 115200                  |
| serial.enabled | on                      |
| serial.uart    | 0 (/dev/ttyAMA0; PL011) |
+----------------+-------------------------+
$ pibootctl get --json serial.enabled serial.baud serial.uart
{"serial.enabled": true, "serial.baud": 115200, "serial.uart": 0}
⚠️ okay important heads-up bestie: wildcards are NOT permitted with this command, unlike with the status command. so don't even try it, she will not play that game πŸ’€

πŸ‘‘ AUTHOR πŸ‘‘

Dave Jones


2019-2020 Dave Jones


and that's the whole page, bestie!! ✨ this was pibootctl-get, version 0.5.2, dated Sep 14, 2020 β€” mwah, go query something cute πŸ’…πŸŽ€

πŸ“¦ where this page comes from