|
|
|
|
|
by jmholla
455 days ago
|
|
I have `rm` aliased: alias rm="rm --interactive"
Really helps avoid these kinds of situations. I do the same thing with `cp`, but unlike `rm`, `--force` doesn't actually undo `--interactive` in `cp` so I have to call `cp` directly (e.g., `/usr/bin/cp`) when I don't want to deal with the prompts.(On Mac and other systems with BSD versions of tools, `--interactive` is `-i` and `--force` is `-f`.) |
|