From owner-freebsd-questions Fri May 26 19:41:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.alpha.net.au (mail2.alpha.net.au [203.41.44.8]) by hub.freebsd.org (Postfix) with ESMTP id 8EF2437B6FF for ; Fri, 26 May 2000 19:41:23 -0700 (PDT) (envelope-from dannyh@idx.com.au) Received: from freebsd.freebsd.org (surry-pool-208.alpha.net.au [203.41.44.208] (may be forged)) by mail.alpha.net.au (8.9.3/8.9.3) with SMTP id NAA15069; Sat, 27 May 2000 13:49:01 +1000 From: Danny To: "Josh Paetzel" , "Mark A. Hummel" , "freebsd-questions" Subject: RE: Why can't I cd to certain directories??? Date: Sun, 28 May 2000 12:47:41 +1000 X-Mailer: KMail [version 1.0.21] Content-Type: text/plain References: MIME-Version: 1.0 Message-Id: <00052812483603.00345@freebsd.freebsd.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG If you want to cd into a directory type in "cd /usr/local/" what you did is cd /usr then cd /local When it should be cd /usr cd local On Sat, 27 May 2000, Josh Paetzel wrote: > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Mark A. Hummel > Sent: Friday, May 26, 2000 11:25 PM > To: freebsd-questions > Subject: Why can't I cd to certain directories??? > > > Greetings, > Sometimes when I try to cd to a directory like /usr/local/... I get an error > message reading: Can't cd to ... > I then try to cd one level down at a time. #cd /usr then pwd to find out I > actually made the trip. Then cd /local Sorry, can't cd to /usr/local. Why > when I'm logged in as a su? > > If you are entering a command like #cd /local you are specifying a directory > /local. Chances are this directory does not exist. If you are trying to > get to /usr/local one step at a time you can do: > > #cd /usr > #cd local > > If you start a cd command with a / you are specifying that the directory you > are looking for is off of root. > > More newbie questions coming. Thanks people > Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe > freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message