Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!hplabs!hpda!hpisod1!hpcllla!hpcllmv!sunil From: sunil@hpcllmv.HP.COM (Sunil Bhargava) Newsgroups: comp.unix.wizards Subject: Re: suggest solutions for "rm *" Message-ID: <6840001@hpcllmv.HP.COM> Date: Sun, 1-Nov-87 18:44:37 EST Article-I.D.: hpcllmv.6840001 Posted: Sun Nov 1 18:44:37 1987 Date-Received: Fri, 6-Nov-87 02:59:25 EST References: <5715@j.cc.purdue.edu> Organization: HP ITG/ISO Computer Language Lab Lines: 7 Have a file by the name of -i in your directory. This will be the first file that will be passed to "rm" in case of an "rm *". "rm" will interpret this as the -i option and hence query before removal. This will not effect any other cases. You could alias "mkdir" to a command that will automatically insert the -i file when a directory en cs. O(non