[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Parameter passing to bash aliases
- Subject: Parameter passing to bash aliases
- From: Raj Mathur <raju@xxxxxxx>
- Date: Tue, 20 Jul 1999 20:39:35 +0530 (IST)
cdnew ()
{
cd "$@"
}
>>>>> "Rajasankar" == Rajasankar K <kraja@xxxxxxxxxxxx> writes:
Rajasankar> Hello, I have a csh alias "alias cd 'cd \!*;ls'". This
Rajasankar> will change directory to the one specified in command
Rajasankar> line as parameter ( through !* ) and list the content
Rajasankar> of that directory.
Rajasankar> Anybody know how to do this in bash? Any work-arounds?
Rajasankar> 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.
------------------------------