Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 1999 11:59:56 +1200 (NZST)
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Dale & Tom Neuman <saftnnos@twcny.rr.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Symlink question...
Message-ID:  <Pine.SC5.4.10.9904151158100.1503-100000@kiwi.pinnacle.co.nz>
In-Reply-To: <000701be86c7$560f26c0$02c809c0@bigguy.cmsnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 14 Apr 1999, Dale & Tom Neuman wrote:

[please set your line wrap to 72 chars]

> Hello, I have a problem.  I am running FBSD2.2.6.  I have a directory
> in my root partition called /DIRECTORY1.  I want to make so every time
> i cd to that direcotry, it actually puts me into
> /usr/local/games/DIRECTORY2.  DIRECTORY2 is another drive which i've
> mounted.  I have tried ln -s with no luck.  What would be the exact
> command to issue??  Thanks in advance.

As root:
	# cd /
	# rmdir DIRECTORY1
	# ln -s /usr/local/games/DIRECTORY2 DIRECTORY1

Jonathan Chen
----------------------------------------------------------------------
                        "By the time they had diminished from 50 to 8,
       the other dwarves began to suspect 'Hungry' ..." - Gary Larson



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?Pine.SC5.4.10.9904151158100.1503-100000>