getconf(1) - man - phpman

Look up a command

 

Markdown Format | JSON API | MCP Server Tool | Cheat Sheet


TLDR: getconf (tldr-pages)

Get configuration values from your Linux system.

  • List all configuration values available
    getconf -a
  • List the configuration values for a specific directory
    getconf -a {{path/to/directory}}
  • Check if the system is 32-bit or 64-bit
    getconf LONG_BIT
  • Check how many processes the current user can run at once
    getconf CHILD_MAX
  • List every configuration value and then find patterns with the `grep` command (i.e every value with MAX in it)
    getconf -a | grep MAX
GETCONF(1)                                Debian GNU/Linux                                GETCONF(1)



NAME
       getconf - Query system configuration variables

SYNOPSIS
       getconf -a

       getconf [-v specification] system_var

       getconf [-v specification] path_var pathname

DESCRIPTION
       -a

               Displays all configuration variables for the current system
               and their values.

       -v

               Indicate the specification and version for which to obtain
               configuration variables.

       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). This
               must be used with a pathname.


AUTHOR
       getconf was written by Roland McGrath for the GNU C Library

       This man page was written by Ben Collins <bcollins AT debian.org> for the Debian GNU/Linux
       system.

SEE ALSO
       sysconf(3), pathconf(3), confstr(3)










3rd Berkeley Distribution                      squeeze                                    GETCONF(1)

Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 16:28 @216.73.216.151 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!