News for hackers. Stuff that matters.
Re:Yes `yes no` by niggler on Wednesday March 13, 2013 @11:01PM (#5372823)
protip: always put -i first.

I avert the problem by having rm run interactively by default:

    alias rm='rm -i'
    alias cp='cp -i'
    alias mv='mv -i'

http://aniggler.tumblr.com/post/44530262158/the-first-thing-...
Re:Yes `yes no` by mietek on Thursday March 14, 2013 @01:34AM (#5373254)
Until one day, lulled into a false sense of security, you find yourself on a system without these aliases…
Re:Yes `yes no` by hakaaaaak on Thursday March 14, 2013 @01:35AM (#5373257)
I usually don't alias the command itself; that's bad form. It limits what you can do and screws you when you are using an environment without your alias when you forget it. Live and learn.