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

 

About 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.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.