[LUNI] finding out what rm did
slawrence at seveninteractive.com
Wed Nov 28 16:56:00 CST 2001
It didn't remove everything on the live site since I killed it within a
second but I want to make sure NOTHING was deleted. It did kill the test
box as I said.
rm -rf /WS_FTP.LOG died immediately when I tried that on the testing box
(which is now being rebuilt).
From: Robert C. Ramsdell [mailto:RCRamsdell at gldd.com]
Sent: Wednesday, November 28, 2001 4:47 PM
To: 'luni at luni.org'
Subject: RE: [LUNI] finding out what rm did
Do I read this right that you put a space in there:
rm -rf / WS_FTP.LOG
If so, were you running as root? Then everything will be deleted. (Does
anyone remember the move "Leon"? This reminds me of the scene with the DEA
agent asking for backup: "Get me everybody." "Who?" "EVERYBODY!!!!")
If running as a user wouldn't it remove everything you have write
From: Lawrence, Sean [mailto:slawrence at seveninteractive.com]
Sent: Wednesday, November 28, 2001 4:04 PM
To: Linux User Group (E-mail)
Subject: [LUNI] finding out what rm did
Does anyone know if there is anyway to find out what a poorly inputed rm
command might have removed?
I tried to remove a bunch of WS_FTP.LOG files from the server and I typed rm
-rf / WS_FTP.LOG and stopped it almost immediately and then tried it on my
test server which got immediately hosed. So I was wondering if there is a
cache of any type or a system log that might have a list of what was
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the luni