Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2000 12:47:41 +1000
From:      Danny <dannyh@idx.com.au>
To:        "Josh Paetzel" <jpaetzel@hutchtel.net>, "Mark A. Hummel" <mhumm@ispchannel.com>, "freebsd-questions" <freebsd-questions@FreeBSD.ORG>
Subject:   RE: Why can't I cd to certain directories???
Message-ID:  <00052812483603.00345@freebsd.freebsd.org>
References:  <NEBBIJCLELPGBFNNJOFHEEMNCAAA.jpaetzel@hutchtel.net>

next in thread | previous in thread | raw e-mail | index | archive | help


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




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