Re: alias

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 13 Apr 2004 17:14:54 -0400
"Spero Manolatos" <sperom@xxxxxxxxxxx> 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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux