Hacker News new | ask | show | jobs
by sweetcakes_2600 3949 days ago
>Apparently he hit [something else] instead of typing out the [...] directory that he wanted to remove.

This exact reason is why I always and without fail type

  rm /some/directory/^A^[[C^[[C -rf
(where ^A means Ctrl+A and ^[[C means right arrow key)

instead of

  rm -rf /some/directory/