Date: 16 Mar 1998 22:38:05 -0600 From: Dave Marquardt <marquard@zilker.net> To: freebsd-questions@FreeBSD.ORG Subject: Re: Link to Ports CDROM Message-ID: <854t0ylyoi.fsf@localhost.zilker.net> In-Reply-To: "Christopher Raven"'s message of "Mon, 16 Mar 1998 18:49:11 -0000" References: <01bd510c$4b127480$0300a8c0@admin.cian.net>
next in thread | previous in thread | raw e-mail | index | archive | help
"Christopher Raven" <gurab@lineone.net> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?854t0ylyoi.fsf>