From owner-freebsd-questions Wed Mar 7 21:58:35 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nameserver.austclear.com.au (nameserver.austclear.com.au [192.83.119.132]) by hub.freebsd.org (Postfix) with ESMTP id 73B3137B718 for ; Wed, 7 Mar 2001 21:58:24 -0800 (PST) (envelope-from ahl@austclear.com.au) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.70.1]) by nameserver.austclear.com.au (8.9.3/8.9.3) with ESMTP id QAA71484; Thu, 8 Mar 2001 16:58:20 +1100 (EST) Received: from tungsten (tungsten [192.168.70.1]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id QAA21944; Thu, 8 Mar 2001 16:58:20 +1100 (EST) Message-Id: <200103080558.QAA21944@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: "G. Jason Middleton" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: linking directories In-Reply-To: Message from "G. Jason Middleton" of "Thu, 08 Mar 2001 00:36:35 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 08 Mar 2001 16:58:20 +1100 From: Tony Landells Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > i have racked my brains out over this...i want to make a link to a > directory and i don't know how to do it. > > i have read the link manpage and i am not getting it. > > i want to make a link to /usr/local/www/ What is the syntax to go about > doing this? > > Am i using the right command (ln,link)? You want to use a symbolic link. Assuming you want to be able to refer to /usr/local/www as, say, /www you would use: ln -s /usr/local/www /www Note that a symbolic link just makes an entry that means "if they type the second name, substitute the first name" so if you make a typo, for example, ln won't complain. Make sure you test what you do. Cheers, Tony -- Tony Landells Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message