delete ~ directory

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Mon Apr 19 15:14:31 UTC 2004


Am Mo, den 19.04.2004 schrieb Martin Stone um 17:09:

> No.  "rm -rf -- ~" absolutely WILL expand the ~ and remove your home directory! 
>   The expansion of "~" is done by bash, not the rm command.  The -- only tells 
> rm not to treat what follows as an option; it does not tell bash not to expand 
> "~".  I would hope that you would test before posting such inaccurate and 
> dangerous advice.

Hm, sorry! I will urgently test the case. Thank you for the response.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2179.nptl
Sirendipity 17:13:21 up 23:59, 10 users, 0.20, 0.34, 0.23 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040419/d3119f68/attachment-0001.sig>


More information about the fedora-list mailing list