I do the opposite. Whenever I delete anything I use rm -rf /full/path/to/file
Just starting to type that triggers a fear response and makes me triple-check what I’m doing.
Honestly, this idea has me pretty mortified as well. Just seeing ”rm -rf /” as part of a string sends chills down my spine.
Granted, any reasons or explanations to cause a string being cut short to this godforsaken form and accidentally run is extremely unlikely, but a valid theoretical possibility: I can easily imagine someone mistyping the first letter after root and, wishing to delete it, pressing Backspace while simultaneously accidentally grazing the Enter key.
Sure, the chances of it happening are about the same as a gun user accidentally dropping their gun, clumsily catching it in the air and accidentally shooting someone right in between the eyes as a result.
Use trash-put and trash-cli.
I do the opposite. Whenever I delete anything I use
rm -rf /full/path/to/fileJust starting to type that triggers a fear response and makes me triple-check what I’m doing.
Honestly, this idea has me pretty mortified as well. Just seeing ”rm -rf /” as part of a string sends chills down my spine.
Granted, any reasons or explanations to cause a string being cut short to this godforsaken form and accidentally run is extremely unlikely, but a valid theoretical possibility: I can easily imagine someone mistyping the first letter after root and, wishing to delete it, pressing Backspace while simultaneously accidentally grazing the Enter key.
Sure, the chances of it happening are about the same as a gun user accidentally dropping their gun, clumsily catching it in the air and accidentally shooting someone right in between the eyes as a result.