home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam    

getconf

getconf [name [path ]]

ksh93 only. Retrieve the values for parameters that can vary across systems. name is the parameter to retrieve; path is a filename to test for parameters that can vary on different filesystem types.

The parameters are defined by the POSIX 1003.1 and 1003.2 standards. See the entry for getconf in Chapter 2 .

Example

Print the maximum value that can be held in a C int .

$ getconf INT_MAX


2147483647


Previous: Reference: functions UNIX in a Nutshell: System V Edition Next: Reference: getopts
Reference: functions Book Index Reference: getopts

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System










??????????????@Mail.ru