sc_cliprompt


Use this variable to change the ALOM shell prompt. The default prompt is sc>.

You can specify any string of characters for the prompt, up to a maximum of 16 characters. The characters allowed in the string are alphanumeric, hyphen, and underscore.

From the ALOM command shell:

Using the scadm utility:

How to Use the setsc Command to Change the sc_cliprompt Variable

At the sc> prompt, type the following command:

sc> setsc sc_cliprompt prompt

where prompt is the desired ALOM command prompt.

For example, if your host name is ernie and your host's ALOM name is ernie-sc, type the following command to specify ernie-sc as your ALOM shell prompt:

sc> setsc sc_cliprompt ernie-sc

ernie-sc>

In addition, you can set this variable through the setupsc command. The setupsc command script prompts you for the following:

Enter the SC cli prompt (maximum of 16 characters) [sc] ?

To use the default prompt of sc>, press Return.

How to Use the scadm Utility to Change the sc_cliprompt Variable

At the server's superuser prompt, type the following command:

# scadm set cliprompt prompt

where prompt is the desired ALOM command prompt.


About ALOM configuration variables

showsc

System user variables