Initial commit of OpenSPARC T2 architecture model.
[OpenSPARC-T2-SAM] / sam-t2 / sam / docs / ui-cmds / cmd_alias.html
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>SPARC Architectural Model: User Commands</title>
</head>
<body bgcolor="#FFFFFF" LANG="en-US">
<div STYLE="margin-bottom: 0cm"></div>&nbsp;
<h2>
alias
</h2>
<h4>
NAME
</h4>
<ul>
alias - set command alias
</ul>
<h4>SYNOPSIS</h4>
<tt>
<ul>
alias<br>
alias <i>alias-cmd</i><br>
alias <i>alias-cmd</i> <i>cmd</i> [<i>args-to-cmd</i>]
</ul>
</tt>
<h4>DESCRIPTION</h4>
<ul>
Set an alias <i>alias-cmd</i> for a user interative command to
<i>cmd</i> [<i>args-to-cmd</i>]. If <i>alias-cmd</i> is executed from
the user interface, the specified alias for <i>alias-cmd</i> is
expanded as a replacement for <i>alias-cmd</i> and the expanded
command line is executed.
<p>
The "alias <i>alias-cmd</i>" form prints the alias' current value.
<p>
If just alias is given, the current alias list is displayed.
</ul>
<h4>RETURN VALUES</h4>
<ul>
If no parameter is given, the <i>alias</i> command returns a list of defined aliases.
</ul>
<h4>SEE ALSO</h4>
<ul><a href="cmd_unalias.html">unalias</a></ul>
<hr>
</body>
</html>