Click to See Complete Forum and Search --> : how i hosed my system with one command


EscapeCharacter
11-02-2001, 05:03 PM
i dont know what i was thinking but i typed "rm -f /lib/ld-linux.so.2"

as root...
chaos insued... try it yourself :)

scanez
11-02-2001, 05:17 PM
Alright, typing and hitting enter as we spe

EscapeCharacter
11-02-2001, 05:34 PM
hehehe classic

optech
11-03-2001, 02:12 AM
one day, while cleaning my ~/ directory:

cd /home/dave
ls -al
cd junk
rm -rf ../

i meant to type "rm -rf ./"


all of my source code, icq lists, config files, downloads, pictures, web site, backups...
all lost

nathaniel
11-03-2001, 01:44 PM
Originally posted by optech:
<STRONG>i meant to type "rm -rf ./"

all of my source code, icq lists, config files, downloads, pictures, web site, backups...
all lost</STRONG>

. . . .gigs of porn :)

I haven't traveled down this path of rm paths but I always have expensive scsi drives die of mine at random.

::just be typing in console, extracting a rar::

ERROR: Can't Write to /usr

:: what?, df -h, /usr 4000mb free
::clicking sound comes from the tower
ERROR: Can't Write to /usr
ERROR: Can't Write to /usr
ERROR: Can't Write to /usr
ERROR: Can't Write to /usr
::clicking sound comes from the tower
ERROR: Can't Write to /usr
ERROR: Can't Write to /usr

so I rip out the IBM SCSI and throw it at the wall, pop it back in and no clicks, no lose of data ( This jerry-rigging experience only worked once, after that I needed a RMA from IBM to fix it )

NB

Twelveguage
11-03-2001, 08:43 PM
Oh yeah? I was working on a project of making my own linux distro on a floppy. I had it mounted to /mnt and was making the files system and folders and everything (/bin /etc etc.). I put the wrong files in the /mnt/etc directory so I wanted to delete all the files in it. I was careless and I typed: rm /etc/* instead of rm /mnt/etc*.

You should of saw me in the chatroom I was in while doing it :D I had to reinstall Slackware then. Luckily it was on my laptop and nothing important was on it.

wetback
01-17-2002, 11:03 PM
When I was in school (Prior to SysIV) my college got a version from Bell Labs (Version7) and I started playing... They didn't know about password protection on root at the time, and I used it to play. I loged in and while reading man pages and testing them, I hit the rm command and tried rm -fr * (Remember I loged in as root?) well in about 5 seconds, things started erroring... I got outta there as fast as I could!!!

Taizong
01-17-2002, 11:28 PM
heh, I did the same "read man and try the command deal" in college - on the prof's workstation. I had to do an extra year end project to avoid discplinary action.

What is really sad: I paid the Japanese exchange student 35 bucks to use one of his old programs.

bobtcowboy
01-18-2002, 01:02 AM
Last night I was trying to get rid of these files that started with "?" in my home directory....

I had to use \ to get the literal "?" but I accidentally typed this instead:

rm -rf /?*

.... needless to say I was glad when it asked me if I was sure about deleting some write protected file in / ....

Bill

PimpHolic
01-30-2002, 09:18 PM
i compiled the 2.4.17 kernel last night, and made a mistake in the compilation with modules and such
so i figured i would get rid of the 2.4.17 modules and just rename my 2.2.19 to 2.4.17 (in /lib)
it was a long shot but whats the worst that could happen?

before even thinking:
rm -r 2.4.17

didn't even back it up
now i gotta re-install slackware

stupid modules...

recluse.
02-01-2002, 04:59 PM
one day, while cleaning my ~/ directory:

I would like to take this opportunity to mention that he was high when he did this.


"Friends don't let friends run Linux on drugs
"

demian
02-02-2002, 12:08 AM
Ever did a rm -rf /dev and then realized that it's a really dumb idea to keep the makedev script in /dev ??

Ludootje
02-02-2002, 04:35 AM
Originally posted by scanez:
<STRONG>Alright, typing and hitting enter as we spe</STRONG>
lol scanez ;)

bwkaz
02-02-2002, 10:41 AM
Originally posted by demian:
<STRONG>Ever did a rm -rf /dev and then realized that it's a really dumb idea to keep the makedev script in /dev ??</STRONG>

:cool: devfs :cool:

demian
02-02-2002, 11:21 AM
Originally posted by bwkaz:
<STRONG> :cool: devfs :cool:</STRONG>

Yeah, I second that. But my anecdode was back from those days when there was no devfs...

bwkaz
02-02-2002, 06:28 PM
Originally posted by demian:
<STRONG>Yeah, I second that. But my anecdode was back from those days when there was no devfs...</STRONG>

Oh, well then. Never mind.

Yippee38
06-25-2002, 01:18 PM
SuSE automatically puts your windows partitions into the fstab. However, it sets them up as /windows/C, /windows/D, etc. I wanted them to be mounted as /win/Programs, /win/Games, etc.

rm -r /windows/C

Of course, that drive was mounted at the time so I had to reload my entire Win98 system.

Yippee38

mdwatts
06-25-2002, 05:56 PM
Originally posted by Yippee38:
<STRONG>SuSE automatically puts your windows partitions into the fstab. However, it sets them up as /windows/C, /windows/D, etc. I wanted them to be mounted as /win/Programs, /win/Games, etc.

rm -r /windows/C

Of course, that drive was mounted at the time so I had to reload my entire Win98 system.

Yippee38</STRONG>

:D :D :D

Bet you didn't try that again... ;)

I would have used

rmdir /windows/C

and then would have received a error about the directory not being empty.

Wolff
06-26-2002, 05:44 AM
ROFLMAO!!

*note to self*

Fortunately I haven't done anything that crazy yet.. But maybe I shouldn't laugh to hard, it can happen to the best :rolleyes: ( hmm .. maye I'm safe then ? :D )

DMR
06-26-2002, 09:53 AM
Originally posted by Yippee38:
<STRONG>rm -r /windows/C</STRONG>And the problem with this command is...?

;)

Lorithar
07-08-2002, 11:29 AM
Ummm ...

Try .. upgrading libc.
since you've just upgraded, delete the old libraries.
forget to ldconfig.
reboot.

*ouch*