Re: alias

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

 



On Wed, 2004-04-14 at 07:14, Spero Manolatos 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?????

As others have said, an alias is only appropriate for a command. If you
want to use "ule" as a general shell variable, 

export ule=/usr/local/etc
cd $ule

Cheers, Ben

>  
> 
> 
> 
> Spero m 
>  
> 
> 
> 
> ______________________________________________________________________
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list



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

  Powered by Linux