Commit | Line | Data |
---|---|---|
920dae64 AT |
1 | <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
2 | <html> | |
3 | <head> | |
4 | <title>SPARC Architectural Model: User Commands</title> | |
5 | </head> | |
6 | <body bgcolor="#FFFFFF" LANG="en-US"> | |
7 | <div STYLE="margin-bottom: 0cm"></div> | |
8 | ||
9 | <h2> | |
10 | alias | |
11 | </h2> | |
12 | ||
13 | <h4> | |
14 | NAME | |
15 | </h4> | |
16 | <ul> | |
17 | alias - set command alias | |
18 | </ul> | |
19 | ||
20 | <h4>SYNOPSIS</h4> | |
21 | <tt> | |
22 | <ul> | |
23 | alias<br> | |
24 | alias <i>alias-cmd</i><br> | |
25 | alias <i>alias-cmd</i> <i>cmd</i> [<i>args-to-cmd</i>] | |
26 | </ul> | |
27 | </tt> | |
28 | ||
29 | <h4>DESCRIPTION</h4> | |
30 | <ul> | |
31 | Set an alias <i>alias-cmd</i> for a user interative command to | |
32 | <i>cmd</i> [<i>args-to-cmd</i>]. If <i>alias-cmd</i> is executed from | |
33 | the user interface, the specified alias for <i>alias-cmd</i> is | |
34 | expanded as a replacement for <i>alias-cmd</i> and the expanded | |
35 | command line is executed. | |
36 | <p> | |
37 | The "alias <i>alias-cmd</i>" form prints the alias' current value. | |
38 | <p> | |
39 | If just alias is given, the current alias list is displayed. | |
40 | </ul> | |
41 | ||
42 | <h4>RETURN VALUES</h4> | |
43 | <ul> | |
44 | If no parameter is given, the <i>alias</i> command returns a list of defined aliases. | |
45 | </ul> | |
46 | ||
47 | <h4>SEE ALSO</h4> | |
48 | <ul><a href="cmd_unalias.html">unalias</a></ul> | |
49 | ||
50 | <hr> | |
51 | </body> | |
52 | </html> |