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

Re: delete file remind



how do I make this alias for all user in my system?
including root, and normal users?

Thanks a lot!
Tuan Anh

> throw this in your .bashrc:
>
> alias rm='rm -i'
>
>
> hth
> 	sean
>
> On Sat, Apr 19, 2003 at 01:35:42PM +0800, Tran Tuan Anh wrote:
> > Hi all:
> >
> > Could anyone tell me how to config the system so that
> > when I delete a file it will remind me first?
> >
> > Currently, when I type "rm *.java"
> > then it just remove all the file.
> > but I want the shell ask the users to reconfirm the action.
> >
> > Thanks a lot!
> > Tuan Anh
> >
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>



Reply to: