From d2dbce839e4ad946ff68025772c635bf2d1d2967 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Tveit?= <90309726+oytv@users.noreply.github.com> Date: Wed, 11 Jan 2023 12:27:42 +0100 Subject: [PATCH] getconf: add page (#9515) * Create getconf.md * Apply suggestions from code review as submitter failed to address them * Fix syntax error * Update getconf.md * Update getconf.md --- pages/linux/getconf.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/getconf.md diff --git a/pages/linux/getconf.md b/pages/linux/getconf.md new file mode 100644 index 000000000..5bd6b4e30 --- /dev/null +++ b/pages/linux/getconf.md @@ -0,0 +1,24 @@ +# getconf + +> Get configuration values from your Linux system. +> More information: . + +- 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`