1.\" Copyright (c) 2000 Peter Wemm <peter@FreeBSD.org> 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions 5.\" are met: 6.\" 1. Redistributions of source code must retain the above copyright 7.\" notice, this list of conditions and the following disclaimer. 8.\" 2. Redistributions in binary form must reproduce the above copyright 9.\" notice, this list of conditions and the following disclaimer in the 10.\" documentation and/or other materials provided with the distribution. 11.\" 12.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 13.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 14.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 15.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 16.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 17.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 18.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 19.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 20.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 22.\" SUCH DAMAGE. 23.\" 24.\" $FreeBSD$ 25.\" 26.Dd July 8, 2000 27.Dt KENV 1 28.Os 29.Sh NAME 30.Nm kenv 31.Nd dump or modify the kernel environment 32.Sh SYNOPSIS 33.Nm 34.Op Fl h 35.Nm 36.Ar variable Ns Op = Ns Ar value 37.Nm 38.Fl u 39.Ar variable 40.Sh DESCRIPTION 41The 42.Nm 43utility will dump the kernel environment if 44invoked without arguments. 45If the 46.Fl h 47option is specified, it will limit the report to kernel probe hints. 48If an optional 49.Ar variable 50name is specified, 51.Nm 52will only report that value. 53If the 54.Fl u 55option is specified, 56.Nm 57will delete the given environment variable. 58If the environment variable is followed by an optional 59.Ar value , 60.Nm 61will set the environment variable to this value. 62.Sh SEE ALSO 63.Xr kenv 2 , 64.Xr loader 8 65.Sh HISTORY 66The 67.Nm 68utility appeared in 69.Fx 4.1.1 . 70