Re: alias(rm as mv)

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

 



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:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux