LWN.net Logo

Aliasing rm by default

Aliasing rm by default

Posted Apr 17, 2009 11:28 UTC (Fri) by Ross (subscriber, #4065)
Parent article: Shortening the rope

> If so, one should certainly complain about the much more obnoxious
>
> alias rm='rm -i'
> .bashrc entries that Fedora has been inflicting on the root account for years.

Oh I certainly have :) That's the first thing to go on any RH system I manage.

It annoys me because it leads to errors when I'm not expecting a prompt and I'm already typing
another command, and the quick workaround of using -f is more dangerous.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds