On 2008-07-02 13:00 +0200, Ron Johnson wrote:

> On 07/02/08 05:45, Sven Joachim wrote:
>> On 2008-07-02 11:33 +0200, Jonas Meurer wrote:
>> 
>>> I've broken my debian/unstable system by executing as root the command
>>> # srm -r -d /tmp/.*
>> 
>> Ouch.  That seems a good command to run before you sell your hard
>> disk. ;-)
>> 
>
> Bcause of the "."?

Because of the ".*" which matches .., i.e. /tmp/.. aka / .

Unless you use zsh as interactive shell; in zsh .* does not match
current and parent directory.

Sven


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to