graphics\overbutt.gifCreating command aliases

You can create command shortcuts using aliases. Command aliases help you minimize the number of keystrokes necessary to execute long commands. The root user enters command alias definitions to be used system-wide.

When you create a command alias, you must assign a name to the alias and specify the command you want to associate with the name. You can view a previously created alias if you forget which commands accompany the alias name. You can also view a list of all command aliases you create.

To create a command alias

1. At the command line, type,

alias <name>="<command>"

2. Press ENTER.

graphics\nicon.gif Note

To view a command alias

1. At the command line, type,

alias <name>

2. Press ENTER.

graphics\nicon.gif Note

To view all aliases

1. At the command line, type,

alias

2. Press ENTER.