From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 06:31:02 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1565816A4CE for ; Fri, 25 Jun 2004 06:31:02 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.242]) by mx1.FreeBSD.org (Postfix) with SMTP id F3E3C43D5C for ; Fri, 25 Jun 2004 06:31:01 +0000 (GMT) (envelope-from hemalpandya@gmail.com) Received: by mproxy.gmail.com with SMTP id w29so5684054cwb for ; Thu, 24 Jun 2004 23:29:23 -0700 (PDT) Received: by 10.38.104.46 with SMTP id b46mr1078rnc; Thu, 24 Jun 2004 22:29:23 -0700 (PDT) Message-ID: <50be591b0406242229711c41e0@mail.gmail.com> Date: Thu, 24 Jun 2004 22:29:23 -0700 From: Hemal Pandya To: freebsd-questions@freebsd.org In-Reply-To: <20040625012205.75fac6ab@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <1793.192.168.1.1.1088132789.squirrel@192.168.1.1> <20040624235109.75b3399b@localhost> <20040625012205.75fac6ab@localhost> Subject: Re: two questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 06:31:02 -0000 On Fri, 25 Jun 2004 01:22:05 -0400, 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 [....]