DragonFly On-Line Manual Pages

Search: Section:  

KENV(1) 	       DragonFly General Commands Manual	       KENV(1)


kenv -- dump or modify the kernel environment


kenv [-hNq] kenv [-qv] variable[=value] kenv [-q] -u variable


The kenv utility will dump the kernel environment if invoked without arguments. If the -h option is specified, it will limit the report to kernel probe hints. If an optional variable name is specified, kenv will only report that value. If the -N option is specified, kenv will only display variable names and not their values. If the -u option is speci- fied, kenv will delete the given environment variable. If the environ- ment variable is followed by an optional value, kenv will set the envi- ronment variable to this value. If the -q option is set, warnings normally printed as a result of being unable to perform the requested operation will be suppressed. If the -v option is set, the variable name will be printed out for the environment variable in addition to the value when kenv is executed with a variable name. Variables can be added to the kernel environment using the /boot/loader.conf file. The file can contain lines of the form name = value # this is a comment


kenv(2), loader.conf(5), loader(8)


The kenv utility appeared in FreeBSD 4.1.1. DragonFly 5.1 March 19, 2016 DragonFly 5.1

Search: Section: