Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jun 2004 22:29:23 -0700
From:      Hemal Pandya <hemalpandya@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: two questions
Message-ID:  <50be591b0406242229711c41e0@mail.gmail.com>
In-Reply-To: <20040625012205.75fac6ab@localhost>
References:  <1793.192.168.1.1.1088132789.squirrel@192.168.1.1> <20040624235109.75b3399b@localhost> <20040625012205.75fac6ab@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 Jun 2004 01:22:05 -0400, epilogue@allstream.net
<epilogue@allstream.net> wrote:
>
[....]
>
> as requested...    (standard shell and standard user)
>
> ~> mkdir test

Don't forget the leading hyphen. Try
~> mkdir -test
which will, of course, give you an error. then try
~> mkdir ./-test
and proceed as below...

> ~> rm ./-test
> rm: ./-test: No such file or directory
> ~> rm -- --test
> rm: --test: No such file or directory
> ~> rm -r test
> remove test? y
> ~> mkdir test
> ~> rm -rf test
[....]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50be591b0406242229711c41e0>