Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Sep 1998 14:30:27 +0100
From:      Ben Smithurst <ben@scientia.demon.co.uk>
To:        A M Bein <ambein@interchange.ubc.ca>, questions@FreeBSD.ORG
Subject:   Re: for: command not found
Message-ID:  <19980906143027.A9069@scientia.demon.co.uk>
In-Reply-To: <Pine.GSO.3.95q.980905220450.12470A-100000@netinfo3.ubc.ca>
References:  <Pine.GSO.3.95q.980905220450.12470A-100000@netinfo3.ubc.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
A M Bein wrote:

> 4. for i in *; do [enter]
> 
> In responce I get the messages:
> 
> for: Command not found
> do: Command not found

What shell are you using? If you are using csh, RTFM, The syntax is
different. Otherwise just type

 sh
 for i in *; do <enter>

to run the command in sh.

-- 
Ben Smithurst : ben@scientia.demon.co.uk : http://www.scientia.demon.co.uk/

PGP: 0x99392F7D - 3D 89 87 42 CE CA 93 4C  68 32 0E D5 36 05 3D 16
     http://www.scientia.demon.co.uk/ben/pgp-key.html (or use keyservers)

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?19980906143027.A9069>