alias

Ben Stringer ben at burbong.com
Wed Apr 14 03:49:18 UTC 2004


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 at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list





More information about the fedora-list mailing list