Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

getconf(1) [linux man page]

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@debian.org> for the Debian GNU/Linux system. SEE ALSO
sysconf(3), pathconf(3), confstr(3) 3rd Berkeley Distribution squeeze GETCONF(1)

Check Out this Related Man Page

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@debian.org> for the Debian GNU/Linux system. SEE ALSO
sysconf(3), pathconf(3), confstr(3) 3rd Berkeley Distribution squeeze GETCONF(1)
Man Page

6 More Discussions You Might Find Interesting

1. Solaris

invalid getconf output and Perl compile

I was compiling perl on a Solaris 10 server. The compile failed because the output of getconf is wrong (it indicates xarch is generic64 not v9. This is a known bug but I cannot find a fix. I wrote a script as suggested that changes it but when you run getconf again it goes back to generic64. ... (2 Replies)
Discussion started by: csross
2 Replies

2. UNIX for Dummies Questions & Answers

TR squeeze oddity

I discovered that where 'tr -s' works as expected on grepped input, it appears to completely fail on dig results. I am not sure if this is because of some sort of non posix compliancy, or what. Here is what I did: The command below works as expected, squeezing all repeated spaces to a single... (3 Replies)
Discussion started by: bdmeyersc
3 Replies

3. SuSE

How to obtain the Linux Distribution Details ?

Hi, I am working on a Unix console. I want to obtain the Linux distribution details in 1) Shell 2) C program ( System call ) Want to know if it is REDHAT / SUSE / UBUNTU , etc .. Please let me know if there is any way to achieve this. Thanks in advance, Siva. (8 Replies)
Discussion started by: Sivaswami
8 Replies

4. Linux

How to obtain the Linux Distribution Details ?

(8 Replies)
Discussion started by: Sivaswami
8 Replies

5. UNIX for Dummies Questions & Answers

Clearcase Query

Hi, Can you please help? I am trying to use variables within a clearcase command, however i am having a major problems - the variables don't appear to be accessible. Using the following as an example: cat=1 2 3 dog=4 5 6 cleartool mkattr -replace Four_Legs '"$cat $dog"' lbtype:Animal ... (3 Replies)
Discussion started by: spikey
3 Replies

6. Shell Programming and Scripting

Doing math using user defined input and system environment variables

Hi, I need some help to setup some environmental variables. for example...Get A -> userdefined/user input B -> a number. c -> system variable...for example $GETCONF PAGE_SIZE E = do some math using bc display a message "The value is E" setup the system/kernel paramter sysctl -p... (3 Replies)
Discussion started by: saravanapandi
3 Replies