[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Parameter passing to bash aliases



alias cd='cd; ls' will do.

Regards,
Lokesh Setia,
<lsetia@xxxxxxxxxxx>


On Tue, 20 Jul 1999, Rajasankar K wrote:

> Hello,
> 
> I have a csh alias "alias cd 'cd \!*;ls'". This will
> change directory to the one specified in command line
> as parameter ( through !* ) and list the content of
> that directory.
> 
> Anybody know how to do this in bash? Any work-arounds?
> 
> Thanks
> Raja.
> 
> --------------------------------------------------------------------
> For more information on Linux in India visit http://www.linux-india.org/
> The Linux India mailing list does not accept postings in HTML format.
> 


- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------