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
- Re: [LIH] about upgrade Dr.K.S.Sangunni
- [LIH] DISPLAY ramesh
- Re: [LIH] DISPLAY Archan Paul
- Re: [LIH] about upgrade Suresh Ramasubramanian
- [LIH] rm -fr...i was burned once [ was about u... sreangsu acharyya
- [LIH] Re: rm -fr...i was burned once [ was... Suresh Ramasubramanian
- Re: [LIH] Re: rm -fr...i was burned on... Atul Mehta
- Re: [LIH] Re: rm -fr...i was burne... Suresh Ramasubramanian
- Re: [LIH] Re: rm -fr...i was burne... VaibhaV Sharma
- RE: [LIH] Re: rm -fr...i was burne... Kapil Bhalla
- RE: [LIH] Re: rm -fr...i was burne... sreangsu acharyya
- RE: [LIH] Re: rm -fr...i was burne... Sharad Joshi
