Re: delete file remind
how do I make this alias for all user in my system?
including root, and normal users?
Thanks a lot!
> throw this in your .bashrc:
> alias rm='rm -i'
> 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 email@example.com
> > with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org