On Mon, Oct 06, 2003 at 11:44:34PM +0530, Himanshu Arora wrote:
> i want rm command to be converted into
> 
> mv (whatever is there after rm command) Trash/
> 
> where Trash/ is the final destination.
> But the alias command doesn't have any support for the above mentioned 
> purpose. Could you suggest me a way to convert rm into mv ?

You simply can't do this by aliasing and expect to always work. Rewrite
the rm command to do what you want.

-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list

Reply via email to