Solaris Files and Prompts

Solaris is a UNIX based (BSD derivative) operating system. Nativity based on Sun (SPARC) hardware, Solaris allows for high performance due to its lightweight and minimal design.

Basic Configuration

  • /etc/inittab - sets run-level (default 3, runs scripts under S, 2 and 3)
  • /etc/init.d/ - boot scripts
  • /etc/rc?.d/S* - links to scripts to be run on boot during run-level n, executed in alphabetical order (i.e. S26script runs before S27script)

Network configuration files

  • /etc/nodename - system hostname
  • /etc/hostname.bge0 - interface bge0 IP address
  • /etc/netmasks - subnet addresses and network masks
  • /etc/defaultrouter - default gateway
  • /etc/system - driver options (e.g. defaults for interface speed/duplex)


ALOM provides access to the hardware system outside the operating system. If the chassis has power, ALOM is available regardless of “power-on” or operating system state.
To access the system from ALOM, use the “console” command. To break back into ALOM, use the escape sequence “#.”

Sun SPARC “ok” prompt

Similar function to a PC BIOS menu. If you have the “ok” prompt, this is an indication that the device is down.
Within the "prompt" there are a number of commands which allow you to modify the system settings, and change various system defaults (variables).

To connect through to the "ok" prompt, use the command "halt".

Tags: UNIX