[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On Mon, 13 Jun 2011, Gibbs wrote:
On 13/06/11 11:07, Gordon Henderson wrote:On Mon, 13 Jun 2011, Gibbs wrote:On 13/06/11 10:48, Dan Dart wrote:I don't remember removing any directories whatsoever. It would have had to be pretty specific to remove sbin, local and share all in on command.Maybe you typed rm -rf /usr /bin/sonething by accident. See the space after usr.Perhaps it was a semicolon outre a cracker.Very confused :)Login as root and type history might give a clue? GordonAh, I always forget about history. The only thing I can see is sudo mv * /usr/*IIRC that was me being lazy moving some flash debugger plugin. The fact that I obviously was doing something to /usr/ probably means that it was me after all. I still don't know how that would remove directories though...
Easy. mv takes a list of files/dirs and moves them to the list item in the list. So.. mv * /usr/* expands to mv file1 file3 file3 (in current dir, etc.) /usr/bin /usr/games /usr/include /usr/local ... ending up in my case with /usr/srcSo you moved everything into /usr/src (or whatever the last file/dir in your /usr was)
They're probably still there. Gordon -- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq