annathyst: (Default)
Anna ([personal profile] annathyst) wrote2005-11-05 02:40 am

AUGH

Note to self: ALWAYS check to see that the command you just recalled by hitting up-arrow after shelling into your server is the one you expected before hitting enter.

You see, "echo * | xargs rm" is a bit different from "screen -U -r -x"...

Good thing I have a backup from earlier this week...
halkeye: (Default)

[personal profile] halkeye 2005-11-05 09:26 am (UTC)(link)
i always use ctrl+r and find the last command i want

i've done that one too many times (not rm, but hit the wrong command)

worse yet was thinking i was typing shutdown on my laptop, when infact i was doing it on a remote server.

[identity profile] spikeyhedgehog.livejournal.com 2005-11-05 06:16 pm (UTC)(link)
Yeah, I've done that too and wondered "why isn't my laptop shutting down?"
chemicallace: My personal avatar, a lady with a flask. (Default)

[personal profile] chemicallace 2005-11-05 07:32 pm (UTC)(link)
I empathize, having once hit the spacebar at the wrong point in a rm -rf /foo/bar/baz.