if you want to make it the default, and everyone's using bash, put that line in /etc/bashrc. don't be suprised if some people get annoyed at having things changed on them without knowing it. what might be better is to change in in the .bashrc files of everyone you care about, and then put the line in /etc/skel/.bashrc, which will then get copied over for all new users that you add later on. just thoughts, anyway. sean On Sat, Apr 19, 2003 at 02:45:53PM +0800, Tran Tuan Anh wrote: > > 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 > > > > > -- > To UNSUBSCRIBE, email to debian-user-request@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Attachment:
pgpy5gyvlCNmV.pgp
Description: PGP signature