[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help! Accidentally started deleting /usr



hi
	one trick is
touch -- -i
	in all the key directories, beginning wtih /. then
rm -fr / makes it look as though it is rm -rf -i , which makes it
interactive again. or else
touch .NODEL /usr/
chattr +i /usr/.NODEL

	hope this helps
regards
omicron
On Mon, 9 Apr 2001, David Wright wrote:
> BTW another trick for deleting files more safely if you use rm -i is
> rm -i whatever/*
> and when you've checked that the first few are OK (i.e. you didn't
> type rm -i whatever/ *), press ^C, recall the command and precede

******
omicron		Mail:omicron@omicron.dyndns.org
(Sridhar N)      www:omicron.symonds.net
	     pubkeys:omicron.symonds.net/pubkeys

      	   C O G I T O   E R G O   S U M
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



Reply to: