Re: rm -R /usr/

2000-06-15 Thread M. Tavasti
"Jacob I. Stowell" <[EMAIL PROTECTED]> writes: > i am a new debian user and i just learned a hard lesson. I guess it is > a bad idea to issue the following command: > > rm -R /usr/ Maybe that isn't that bad, or is it? Still have /etc and /var remaining. Is it possible to get dpkg from any other

Re: rm -R /usr/

2000-06-11 Thread Brian Stults
I've made countless mistakes being overly cavalier with "rm". As others have mentioned, "rm -i" didn't work for me because I just got in the habit of always using "-f". About a year ago, I decided to start fiddling with a "trash can" script. I ended up with several shell scripts that alias rm to

Re: rm -R /usr/

2000-06-11 Thread kmself
On Sat, Jun 10, 2000 at 08:31:56PM -0400, Jacob I. Stowell wrote: > hello > > i am a new debian user and i just learned a hard lesson. I guess it is > a bad idea to issue the following command: > > rm -R /usr/ Reminds me of the time I did an "rm -rf * /" as root. Here's what happened: - I bl

Re: rm -R /usr/ - undelete....

2000-06-10 Thread Alvin Oga
hi ya... "interactive" mode for rm -i foo is fine...as long as you don't remove too many files ??? think the trick is if "rm -rf /usr" is a directory. rm should query you. if you do "rm /usr/blah"...than just go ahead and don't botheras if "-f" was specified ??? if you do "rm -rf

Re: rm -R /usr/

2000-06-10 Thread Alvin Oga
hi ya yeahand luckily... /usr is already backed up on cdrom... just need to update the missing files/bins/libs ( i hope it works ? )... and than apply your new apps/patches ?? i like /usr/src to be in a separate partition that is backed up or mirrored... all clients

Re: rm -R /usr/

2000-06-10 Thread Peter Palfrader
Hi Aaron! On Sat, 10 Jun 2000, Aaron Solochek wrote: > Now I have it aliased to interactive mode, which is annoying at times, but [ ^^ rm -- PP] > I haven't made a mistake like that again. Does not work for me. After 2 days I started using -f with rm all the times. Even more dangerous

Re: rm -R /usr/

2000-06-10 Thread Aaron Solochek
Yep... I was working with a filesystem I had mounted in /slink, and I issued rm -r /etc, trying to remove the mounted etc... oops... Now I have it aliased to interactive mode, which is annoying at times, but I haven't made a mistake like that again. -Aaron On Sat, 10 Jun 2000, Jacob I. Stowell

Re: rm -R /usr/

2000-06-10 Thread Colin Watson
[EMAIL PROTECTED] wrote: >i am a new debian user and i just learned a hard lesson. I guess it is >a bad idea to issue the following command: > >rm -R /usr/ > >i try to look at the bright side, you know make lemonade and all that, >so at least i get a new system as a result of my bonehead mistake.