tail head cat sleep
QR code linking to this page

Manual Pages  — NVRAM

NAME

nvram – display or modify contents of the EEPROM or NVRAM

CONTENTS

SYNOPSIS


nvram -p
nvram [-d name ]... [name=value ...]

DESCRIPTION

The nvram utility provides an interface for displaying and changing the system's configuration variables contained in EEPROM or NVRAM. In the first synopsis form, all available configuration variables and their current values are printed. In the second form, the variable selected by name is either removed or its value is changed to the value following by ‘=’ sign.

The following options are available:
-d name
  Delete the variable selected by name from the EEPROM or NVRAM. The -d flag can be specified multiple times, in which case multiple variables will be removed.
-p
  Print all available configuration variables and their current values.

EXAMPLES

Print all available configuration variables and their current values:

    nvram -p

Remove the variable named local-mac-address?:

    nvram -d local-mac-address\?

Set the value of the local-mac-address? variable to "true":

    nvram local-mac-address\?=true

Note that the ‘\’ in the above examples is used to keep the shell from interpreting the ‘amp;?’.

Remove variables named foo and bar and set variable named baz to "100":

    nvram -d foo -d bar baz=100

SEE ALSO

powermac_nvram(4)

HISTORY

The nvram utility first appeared in FreeBSD 7.0 . It is inspired by the Darwin/Mac OS X nvram utility.

AUTHORS

Maxim Sobolev <Mt sobomax@FreeBSD.org>

NVRAM (8) June 19, 2020

tail head cat sleep
QR code linking to this page


Please direct any comments about this manual page service to Ben Bullock. Privacy policy.

Unix’s “power tools” are more like power switchblades that slice off the operator’s fingers quickly and efficiently.
— The Unix Haters' handbook