News for hackers. Stuff that matters.
Re:Ok-Cancel versus Cancel-Ok by alanning on Saturday June 09, 2018 @07:57AM (#17272587)
I’ve seen it generally recommended to use a different command rather than aliasing `rm`.

Pretty sure there are a plethora of options for each OS but here’s a couple:

For OSX, homebrew has a handy “trash” command line tool [1].

For Ubuntu, trash-cli seems popular [2].

1. `brew install trash`

2. http://manpages.ubuntu.com/manpages/precise/man1/trash-put.1...

There are no comments on this comment yet.