Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 1998 18:46:01 -0600 (CST)
From:      "Matthew D. Fuller" <fullermd@futuresouth.com>
To:        Greg Fraize <greg@merrimack.edu>
Cc:        FreeBSD Hackers <hackers@FreeBSD.ORG>
Subject:   Re: for loop at your command prompt
Message-ID:  <Pine.BSF.3.96.980311184421.11701a-100000@shell.futuresouth.com>
In-Reply-To: <3506FEC1.7D9312B2@merrimack.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 11 Mar 1998, Greg Fraize wrote:

> can someone please tell me how I could do a
> for loop at my shell prompt...
> I've seen it done before...but I was un-able to remember what 
> that person type ..thans
> Greg
% sh
# for i in www.freebsd.org www.yahoo.com www.openbsd.org; do
> ping -c 5 $i > /dev/null
> done
(it does it)
# exit
%

:)

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
|       FreeBSD; the way computers were meant to be       |
* "The only reason I'm burning my candle at both ends, is *
| that I haven't figured out how to light the middle yet."|
*    fullermd@futuresouth.com      :-}  MAtthew Fuller    *
|      http://keystone.westminster.edu/~fullermd          |
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980311184421.11701a-100000>