515
Who hasn't typed a risky command? Throw the first stone!
(programming.dev)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Right, so then if asterisk wildcards don’t match on . and .. then, in most common distros where there is no dot in any of the top level dirs in /, “rm -rf *.*” in the top level / dir is basically harmless and likely a noop.
So OP is wrong.
Technically, it says he's in the
~directory, which would usually be/home/god, but even in there there aren't usually any directories/files with a dot.~ has many dot directories and files