Deleting a directory

Cameron Simpson cs at zip.com.au
Tue Mar 28 08:46:30 UTC 2006


On 27Mar2006 11:55, Danny Ciarniello <Dan_Ciarniello at telus.net> wrote:
| rm -rf <directoryname>
| 
| -r : recurse
| -f : force
| 
| Be careful!

You know that "-f" and "be careful" are opposing actions?
Skip the -f and proceed. Oh, and unalias "rm"; RH systems ship
with an alias to always supply a -i option to "rm", and that
in turn promotes this dangerous overuse of the -f option.
-- 
Cameron Simpson <cs at zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

Personally, I find blinking text on a page to be extraordinarily annoying and
my first instinct is to back up one page, right away.
        - William Barr <wbarr at leland.stanford.edu>




More information about the fedora-list mailing list