On Fri, Nov 08, 2002 at 09:56:26AM +1300, Theuns Verwoerd wrote:
> > > rm -rf /home/theuns/scratch//*
> > 
> > Double slash ??
> 
> Bingo, now add to that that I was working with kernel modules, and so 
> logged in as root...

Um, I'm sorry, I dont see how that could do what you describe... A double
slash in a path is a no-op. does no harm.

mjb@toolbox:~> pwd
/home/mjb
mjb@toolbox:~> ls /home//mjb/
Mail/  TODO  bin/  build/  mp3s@  scratch/  store/
mjb@toolbox:~> ls
Mail/  TODO  bin/  build/  mp3s@  scratch/  store/
mjb@toolbox:~> cd /tmp
mjb@toolbox:/tmp> mkdir -p foo/bar/baz
mjb@toolbox:/tmp> rm -rf /tmp/foo//*
mjb@toolbox:/tmp> ls
foo/   [and others]
mjb@toolbox:/tmp> ls foo
mjb@toolbox:/tmp>


Mike.
-- 
Michael Beattie <[EMAIL PROTECTED]>

Contentsofsignaturemaysettleduringshipping.

Reply via email to