This can be a pain if you're deleting many files, but
alias rm='rm -i'
has worked for me.71–76 of 76 posts
alias rm='rm -i'
has worked for me.This can be a pain if you're deleting many files, but alias rm='rm -i' has worked for me.
This can be a pain if you're deleting many files, but alias rm='rm -i' has worked for me.
Okay I think this is more elegant than my workaround. But it doesn’t work for directories, does it?
This can be a pain if you're deleting many files, but alias rm='rm -i' has worked for me.
Okay I think this is more elegant than my workaround. But it doesn’t work for directories, does it?
$ ls -l /usr/local/bin/del
lrwxrwxrwx 1 root root 13 Mar 18 12:46 /usr/local/bin/del -> /usr/games/sl