On Fri, 15 Sep 2000, Kapil Bhalla wrote:
> One of the solutions I read was to make a file named "-i" in your /
> directory and all the
> directories which you want to proctect from this sort of deletion.

 this is neat!! Actually the 1st thing  i add in a .profile or .bashrc
is alias rm='rm -i' but that will not protect from the -f optiuon. The
backside to this soln is u cant write some automated scripts to delete
files on the directory, BUT that is exactly what its meant for :)
                      sreangsu


----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to