alias

Andre Costa acosta at ar.microlink.com.br
Tue Apr 13 21:22:57 UTC 2004


On Tue, 13 Apr 2004 17:14:54 -0400
"Spero Manolatos" <sperom at verizon.net> wrote:

> I am using the sh shell.
>  
> Have tried to use alias in the following way:
>  
> Alias <string> <dir> 
>  
> Example:   alias ule /usr/local/etc
>  
> When I try to retrieve the alias using cd ule it does not work.
>  
> If I type alias then enter I do get a list with ule included?????

Aliases can only be used as commands. From bash manpage:

ALIASES
       Aliases allow a string to be substituted for a word when it is
used  as the  first  word  of  a  simple command.  [...]

HTH

Andre

-- 
Andre Oliveira da Costa





More information about the fedora-list mailing list