getconf

Get configuration values from your Linux system. More information: <https://manned.org/getconf.1>.

Install

All systems
curl cmd.cat/getconf.sh
Debian Debian
apt-get install libc-bin
Ubuntu
apt-get install libc-bin
Arch Arch Linux
pacman -S glibc
image/svg+xml Kali Linux
apt-get install libc-bin
CentOS
yum install glibc-common
Fedora
dnf install glibc-common
Windows (WSL2)
sudo apt-get update sudo apt-get install libc-bin
Raspbian
apt-get install libc-bin

Get configuration values from your Linux system. More information: <https://manned.org/getconf.1>.

  • List [a]ll configuration values available:
    getconf -a
  • List the configuration values for a specific directory:
    getconf -a path/to/directory
  • Check if your linux system is a 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

© tl;dr; authors and contributors