Read BootPROM settings from the Solaris command line

Contributor Icon Contributed by qmchenry Date Icon October 11, 2003  
Tag Icon Tagged: Solaris system administration

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

Previous recipe | Next recipe |
 
blog comments powered by Disqus