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
Attachment:
pgpkpmixZBY6J.pgp
Description: PGP signature