Author: Daniel Llewellyn Date: To: Hampshire LUG Discussion List Subject: Re: [Hampshire] error competition
Hi,
On Fri, Aug 19, 2011 at 19:12, Andy Smith <andy@???> wrote: > Hi Daniel,
>
> On Fri, Aug 19, 2011 at 01:01:17PM +0100, Daniel Llewellyn wrote:
>> how about this one that I have actually performed myself:
>>
>> rm -rf .* > Are you sure? Was this not Linux? "rm" on Linux doesn't recurse
> through ..:
>
> $ cd /tmp/
> $ mkdir -vp foo/bar/baz
> mkdir: created directory `foo'
> mkdir: created directory `foo/bar'
> mkdir: created directory `foo/bar/baz'
> $ cd foo/bar/baz
> $ rm -rv .*
> rm: cannot remove directory `.'
> rm: cannot remove directory `..'
memory serves that it was on Ubuntu 10.04LTS.
> Cheers,
> Andy