Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rooted
on March 11, 2014
|
parent
|
context
|
favorite
| on:
Why Puppet, Chef, Ansible aren't good enough
I can't think if a situation rm is safer than rm -f unless you want to have confirmations for each file that's deleted.
I'm a fan of aliasing rm to move files into a trash folder
tjpick
on March 11, 2014
[–]
it's probably safer to just remember to use mv instead, because there's a very high chance that you'll do the wrong thing on a terminal that doesn't have that alias available.
wahnfrieden
on March 11, 2014
|
parent
[–]
Just alias a third command that moves to your trash directory and won't accidentally trigger rm when you're on a new machine.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I'm a fan of aliasing rm to move files into a trash folder