GETCONF(1)

๐Ÿ’– GETCONF(1) โ€” NAME ๐Ÿ’–

okay so the manual name here is getconf and its whole job is to query system configuration variables (sysconf) โœจ

๐ŸŽ€ SYNOPSIS ๐ŸŽ€

getconf -a

getconf [-v specification] system_var

getconf [-v specification] path_var pathname

๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so here's the lowdown on what each piece does, bestie ๐Ÿซถ

  • -a โ€” this one is giving "show me everything" energy ๐Ÿ˜ญ It displays all configuration variables for the current system and their values.
  • -v โ€” this one lets you pick the specification and version you want your config variables pulled from. ๐Ÿฆ‹
  • system_var โ€” a system configuration variable, as defined by sysconf(3) or confstr(3). ๐Ÿ’…
  • path_var โ€” a system configuration variable as defined by pathconf(3). Main character rule: this one must be used with a pathname ๐Ÿ”ฅ

๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

getconf was written by Roland McGrath for the GNU C Library, and that's literally iconic ๐Ÿ’œ

This man page was written by Ben Collins <bcollins@debian.org> for the Debian GNU/Linux system ๐ŸŒˆ

๐Ÿงš SEE ALSO ๐Ÿงš

sysconf(3), pathconf(3), confstr(3) โ€” go check these out if you're obsessed like me ๐Ÿ™ˆ


3rd Berkeley Distribution ยท June 13, 2010 ยท GETCONF(1) โ€” bye bestie, you're literally going to slay with this now ๐Ÿ“โœจ