3 ms·
# on windows box 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...
by kgo 16y ago
# on windows box
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!
- megamark16 16y agoI 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!".
- Sniffnoy 16y ago...OK, I have to ask. Why would you name a file "~" in the first place?
- gleenn 16y agoYou missed the part where they said they were on a windows box trying to copy a file to their home directory. Instead of copying the file to the home directory, it made a file called ~.