Re:My 10 UNIX Command Line Mistakes
by megamark16 on Sunday February 27, 2011 @11:08PM
(#2269998)
I did almost the same thing, except someone created a symlink named "" (just an asterisk). I "ln -l"'d the current directory, saw the weird broken symlink, and without thinking did "rm ". The slow motion double take immediately after hitting enter was like a shot from a movie. "NOOOOOO!".
...OK, I have to ask. Why would you name a file "~" in the first place?
scp file linuxbox:~
# on linux box # I now have a file called /home/me/~
rm ~
# some stupid error...
rm -fr ~
# that's taking a while...
NOOOOOOO!