Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2010 12:48:20 +0900
From:      Isamu Onoda <onoda11@gmail.com>
To:        Nita Pavitran <nitap@juniper.net>
Cc:        questions@freebsd.org, Jonathan Chen <jonc@chen.org.nz>
Subject:   Re: Could not chdir to home directory
Message-ID:  <AANLkTi=yuzxL5h00zdi2U_HZdyHpkY3L6S94QZ2GZYmq@mail.gmail.com>
In-Reply-To: <20100826185426.GD4084@osiris.chen.org.nz>
References:  <9FD5704A74FFF54480BBDE7B432C6D160D0F2927@emailbng2.jnpr.net> <20100826185426.GD4084@osiris.chen.org.nz>

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

You can also use ~ to mention your home directory.
$ cd ~ // Go to home directory
$ pwd // Check the output, to know where is the home
and may use chdir command if you want to change your home directory.

Sincerely,
Isamu Onoda

--
Isamu Onoda
mail: onoda11@gmail.com
TEL:=A0 080-3757-6465
IMPERARE SIBI MAXIMVM IMPERIVM EST




2010/8/27 Jonathan Chen <jonc@chen.org.nz>:
> On Thu, Aug 26, 2010 at 11:11:40PM +0530, Nita Pavitran wrote:
>> Hi,
>>
>> I get the following error message and I seem to be in the root directory
>> instead of the home directory:
>>
>> Could not chdir to home directory /homes/nitap: Permission denied
>> > uname -a
>> FreeBSD bigpink.juniper.net 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0:
>> Mon Oct 25 16:23:23 PDT 2004
>> root@bigpink.juniper.net:/usr/src/sys/compile/bigpink =A0i386
>> >
>>
>> Please let me know how I can get to my home directory.
>
> Check the output of:
> =A0 =A0ls -ld /
> =A0 =A0ls -ld /homes
> =A0 =A0ls -ld /homes/nitap
>
> --
> Jonathan Chen <jonc@chen.org.nz>
> ----------------------------------------------------------------------
> =A0 =A0 =A0 =A0 =A0"You can get farther with a kind word and a gun
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0than you can with a kind word =
alone" - Al Capone
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>



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