Thursday, November 21, 2024
HomeSolarisSolaris system administrationRead BootPROM settings from the Solaris command line

Read BootPROM settings from the Solaris command line

The ability to view BootPROM settings from the command line with eeprom prevents the need to boot to run level 0 just to check those environment variables.


To read all BootPROM variables and their current settings, run:

eeprom

To view a specific variable such as auto-boot?, use:

eeprom "auto-boot?"

Enclosing the parameter in quotes is necessary in this case because the shell would otherwise interpret the question mark as a wildcard. The question mark must be escaped either by enclosing in quotes or by preceeding it with a backslash, as in

eeprom auto-boot\?

See also: See also: Change BootPROM settings from the Solaris command line

Quinn McHenry
Quinn McHenry
Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!