alias - rename a command string



next up previous contents
Next: background - calculate Up: Commands Previous: Commands

alias - rename a command string

alias/quals [name] [command_string]
Rename a command string to an alias name. name specifies the new name, command_string is that to be renamed. The command string is exactly as it would be given on the command line. alias/show will list all of the aliases.

If the command_string contains blanks, it must be enclosed in double quotes.

alias/previous [new_name]

Define the previously given command as an alias with the name new_name.

alias/delete

Delete a previously given alias name.

alias/show string

List the currently defined alias names. The default will give only user-defined names. The qualifier /system, when used in combination with /show, will list the system-wide aliases. The default lists both the system and user aliases. string specifies part of the string to be listed. Wild cards are allowed, e.g., alias/show c* will list all aliases beginning with c.

alias/system

Used to specify that an alias name is to be system-wide (system managers only). Also, when used in combination with the /show qualifier, it will list the system-wide qualifiers (all users).

Examples:

 
alias plot "disp"       ! define the command disp to be plot
alias/prev my_data      ! redefine the previous command



Lorella Angelini
Thu 12 Oct 16:28:11 1995