💀☠️
Everyone asks what is rm but nobody asks how is rm.

No one ask when rm is.

deleted by creator
rm -i: Am I a joke to you?Yes. Yes it is. Why would I type an extra flag? It should be the default.
alias rm='rm -i': Am I a joke to you?
Use trash-put and trash-cli.
…and this is the reason I added this to my root .bashrc:
export PS1="\h:\$(realpath .)\$ "no more following symlinks on a remote mount and forgetting about it.At a previous job I remember a PR to do essentially
temp=$(mktemp -d) mv $target $temp rm -r $temp &
I thought it was pretty clever. Obviously you would need to make sure mktemp is on the same filesystem (there are good flags to just use a dot file in the current directory). mv is atomic on most filesystems and then the & just runs the rm in the background .




