i am scared to reboot i ran rm * in / i see i no longer have directory floopy i thaught i had done cd /floppy but what i really did was ls floppy and then i ran rm * am i safe???????????????????????????????????????? root@pepino:/ > ls /floppy/ ow32enen605.exe root@pepino:/ > rm * rm: `bin' is a directory rm: `boot' is a directory rm: `dev' is a directory rm: `etc' is a directory rm: `home' is a directory rm: `lib' is a directory rm: `lost+found' is a directory rm: `media' is a directory rm: `mnt' is a directory rm: `opt' is a directory rm: `proc' is a directory rm: `root' is a directory rm: `sbin' is a directory rm: `tmp' is a directory rm: `usr' is a directory rm: `var' is a directory rm: `windows' is a directory
landy@despiertapr.com wrote:
i am scared to reboot
i ran rm * in /
i see i no longer have directory floopy
i thaught i had done cd /floppy but what i really did was ls floppy and then i ran rm * am i safe????????????????????????????????????????
root@pepino:/ > ls /floppy/ ow32enen605.exe root@pepino:/ > rm * rm: `bin' is a directory rm: `boot' is a directory rm: `dev' is a directory rm: `etc' is a directory rm: `home' is a directory rm: `lib' is a directory rm: `lost+found' is a directory rm: `media' is a directory rm: `mnt' is a directory rm: `opt' is a directory rm: `proc' is a directory rm: `root' is a directory rm: `sbin' is a directory rm: `tmp' is a directory rm: `usr' is a directory rm: `var' is a directory rm: `windows' is a directory
You should be safe. The only files I have in / are the symbolic links to /media/cdrom and /media/floppy. They have probably been deleted, but you can easily recreate them with ln -s /media/cdrom /cdrom ln -s /media/floppy /floppy Nothing important has been removed by the command you typed (assuming the above is exactly what you typed) //Anders
On Thu, 2002-10-10 at 18:46, Anders Johansson wrote:
landy@despiertapr.com wrote:
i am scared to reboot
i ran rm * in /
i see i no longer have directory floopy
i thaught i had done cd /floppy but what i really did was ls floppy and then i ran rm * am i safe????????????????????????????????????????
root@pepino:/ > ls /floppy/ ow32enen605.exe root@pepino:/ > rm * rm: `bin' is a directory rm: `boot' is a directory rm: `dev' is a directory rm: `etc' is a directory rm: `home' is a directory rm: `lib' is a directory rm: `lost+found' is a directory rm: `media' is a directory rm: `mnt' is a directory rm: `opt' is a directory rm: `proc' is a directory rm: `root' is a directory rm: `sbin' is a directory rm: `tmp' is a directory rm: `usr' is a directory rm: `var' is a directory rm: `windows' is a directory
You should be safe. The only files I have in / are the symbolic links to /media/cdrom and /media/floppy. They have probably been deleted, but you can easily recreate them with
ln -s /media/cdrom /cdrom ln -s /media/floppy /floppy
Nothing important has been removed by the command you typed (assuming the above is exactly what you typed)
//Anders
i think i shit on my pants....
On October 10, 2002 06:43 pm, R. R. wrote:
i am scared to reboot
i ran rm * in /
i see i no longer have directory floopy
i thaught i had done cd /floppy but what i really did was ls floppy and then i ran rm * am i safe????????????????????????????????????????
I wouldn't worry about /floppy. I'd worry about what else might have gotten removed. /floppy isn't an issue. Nick
"R" == R R
writes:
R> i am scared to reboot i ran rm * in / R> i see i no longer have directory floopy R> i thaught i had done cd /floppy but what i really did was ls R> floppy and then i ran rm * am i R> safe???????????????????????????????????????? This is a good time to remind one and all to have backups. (pot, kettle, black...). Check out 'mondoarchive' sometime. The Suse version has some quirks, so be sure to follow the links in the download page. Signed.. Successfully backed up :-) -- __@ Greg Franks <| _~@ __O _`\<,_ Ottawa, Ontario, Canada |O\ -^\<;^\<, (*)/ (*) (*)--(*)%---/(*) "Where do you want to go today?" Outside.
On Friday 11 October 2002 01:50 am, Greg Franks wrote:
This is a good time to remind one and all to have backups
what works for me is < tar > :- tar clf - . | ( umask 0; cd /mnt; tar xvf - ) this works fine, to back up /home directory this works fine, to back up the whole system. -- best wishes ____________ sent on Linux ____________
"R. R." wrote:
i am scared to reboot
i ran rm * in /
i see i no longer have directory floopy
i thaught i had done cd /floppy but what i really did was ls floppy and then i ran rm * am i safe????????????????????????????????????????
root@pepino:/ > ls /floppy/ ow32enen605.exe root@pepino:/ > rm * rm: `bin' is a directory rm: `boot' is a directory rm: `dev' is a directory rm: `etc' is a directory rm: `home' is a directory rm: `lib' is a directory rm: `lost+found' is a directory rm: `media' is a directory rm: `mnt' is a directory rm: `opt' is a directory rm: `proc' is a directory rm: `root' is a directory rm: `sbin' is a directory rm: `tmp' is a directory rm: `usr' is a directory rm: `var' is a directory rm: `windows' is a directory
Good news is that only the files in "/" got removed. So you are luckie. Be glad it wasn't "rm -r *". -- 73 de Donn Washburn __ " http://www.hal-pc.org/~dwash " Ham Callsign N5XWB / / __ __ __ __ __ __ __ 307 Savoy St. / /__ / / / \/ / / /_/ / \ \/ / Sugar Land, TX 77478 /_____/ /_/ /_/\__/ /_____/ /_/\_\ LL# 1.281.242.3256 a MSDOS Virus "Free Zone" OS Email: n5xwb@arrl.net Info: http://www.austinlug.org
Donn aka N5XWB
Good news is that only the files in "/" got removed. So you are luckie. Be glad it wasn't "rm -r *".
And it also teaches to do as much as possible as a normal user, as then even a 'rm -r *' wouldn't have done much (besides emptying the home directory). Philipp -- Philipp Thomas work: pthomas@suse.de Development SuSE Linux AG private: pth@t-link.de
participants (7)
-
Anders Johansson
-
Donn aka N5XWB
-
Greg Franks
-
Nick Zentena
-
Philipp Thomas
-
R. R.
-
tabanna