From owner-freebsd-questions@FreeBSD.ORG Tue Jun 27 18:43:49 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E55116A6BD for ; Tue, 27 Jun 2006 18:43:49 +0000 (UTC) (envelope-from slidgey@yahoo.ca) Received: from web35702.mail.mud.yahoo.com (web35702.mail.mud.yahoo.com [66.163.179.156]) by mx1.FreeBSD.org (Postfix) with SMTP id 6404B44CD2 for ; Tue, 27 Jun 2006 18:14:23 +0000 (GMT) (envelope-from slidgey@yahoo.ca) Received: (qmail 6919 invoked by uid 60001); 27 Jun 2006 18:14:22 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vCc86wiQD7gN3QhwU61lc/LF+hQljxBQwnj6LuiPdpRbrmMESn03XrW1HI0gISZs93SJ0cMUy5hZvFwl8JJy37P2UFfcj+gu+MDc8Jrs4Op6ikrjbjeRNGgJI8khii8qIFwgo3QwnEhWL6IalLOfvQu2kANY+iY09EJh40aqsHU= ; Message-ID: <20060627181422.6917.qmail@web35702.mail.mud.yahoo.com> Received: from [129.173.68.207] by web35702.mail.mud.yahoo.com via HTTP; Tue, 27 Jun 2006 14:14:22 EDT Date: Tue, 27 Jun 2006 14:14:22 -0400 (EDT) From: sara lidgey To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Mailman-Approved-At: Tue, 27 Jun 2006 21:09:17 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: multiple links with single ln command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jun 2006 18:43:49 -0000 Hi All, I've read the man page for ln but can't find a way to do this. I want to create multiple links to a single directory with one command. Consider the following example. I have a directory structure like this: test/a/ test/b/ test/c/ I want to create a symbolic link called "clink" in test/a/ and test/b/ which points to test/c/ The only way I know to do this is with two commands: ln -s test/c test/a/clink ln -s test/c test/b/clink Can it be done with a single command? thanks. sorry if this is a no-brainer, S --------------------------------- Now you can have a huge leap forward in email: get the new Yahoo! Mail.