From owner-freebsd-questions Mon Mar 16 20:38:48 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA16387 for freebsd-questions-outgoing; Mon, 16 Mar 1998 20:38:48 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from localhost.zilker.net (jump-x2-1023.jumpnet.com [207.8.67.23]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA16361 for ; Mon, 16 Mar 1998 20:38:39 -0800 (PST) (envelope-from marquard@zilker.net) Received: (from marquard@localhost) by localhost.zilker.net (8.8.8/8.8.3) id WAA07507; Mon, 16 Mar 1998 22:38:06 -0600 (CST) To: freebsd-questions@FreeBSD.ORG Subject: Re: Link to Ports CDROM References: <01bd510c$4b127480$0300a8c0@admin.cian.net> From: Dave Marquardt Date: 16 Mar 1998 22:38:05 -0600 In-Reply-To: "Christopher Raven"'s message of "Mon, 16 Mar 1998 18:49:11 -0000" Message-ID: <854t0ylyoi.fsf@localhost.zilker.net> Lines: 22 X-Mailer: Quassia Gnus v0.22/XEmacs 19.16 - "Lille" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Christopher Raven" writes: > when attempting (with FreeBSD 2.2.5) to use the command : - > > # for i in *; do > > ln -s $i /usr/ports/distfiles/$i > > done > > in order to create a symbolic link to the ports on "/cdrom" (as > documented in The complete FreeBSD 2nd edition, p.96), I get as far as > > for i in *; do (RETURN) > > and the console returns the error:- > > for: Command not found > do: Command not found You're running csh, which doesn't recognize `for' and "do". Run "man csh" and read about `foreach', or use sh or ksh or some other shell that understands the `for' command. -Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message