Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / docs / ui-cmds / cmd_alias.html
CommitLineData
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>&nbsp;
8
9<h2>
10alias
11</h2>
12
13<h4>
14NAME
15</h4>
16<ul>
17alias - set command alias
18</ul>
19
20<h4>SYNOPSIS</h4>
21<tt>
22<ul>
23alias<br>
24alias <i>alias-cmd</i><br>
25alias <i>alias-cmd</i> <i>cmd</i> [<i>args-to-cmd</i>]
26</ul>
27</tt>
28
29<h4>DESCRIPTION</h4>
30<ul>
31Set 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
33the user interface, the specified alias for <i>alias-cmd</i> is
34expanded as a replacement for <i>alias-cmd</i> and the expanded
35command line is executed.
36<p>
37The "alias <i>alias-cmd</i>" form prints the alias' current value.
38<p>
39If just alias is given, the current alias list is displayed.
40</ul>
41
42<h4>RETURN VALUES</h4>
43<ul>
44If 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>