Hi,

On Fri, Aug 19, 2011 at 19:12, Andy Smith <a...@strugglers.net> 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


-- 
Regards,
    The Honeymonster aka Daniel Llewellyn

--
Please post to: Hampshire@mailman.lug.org.uk
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------

Reply via email to