Using trash instead of rm
Installing trash:
sudo apt-get install trash-cli
Delete/remove:
trash
*starts with –
trash -- -foo
trash ./-foo
View:
trash-list
Empty:
trash-empty
Restore:
trash-restore
restore-trash
Help:
trash --help
Version:
trash --version
Do not alias rm, but rather, start using trash!