From owner-freebsd-hackers Wed Mar 11 16:47:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA20386 for freebsd-hackers-outgoing; Wed, 11 Mar 1998 16:47:40 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA20053 for ; Wed, 11 Mar 1998 16:46:12 -0800 (PST) (envelope-from fullermd@futuresouth.com) Received: from shell.futuresouth.com (mail.futuresouth.com [207.141.254.21]) by shell.futuresouth.com (8.8.8/8.8.8) with SMTP id SAA02987; Wed, 11 Mar 1998 18:46:01 -0600 (CST) Date: Wed, 11 Mar 1998 18:46:01 -0600 (CST) From: "Matthew D. Fuller" To: Greg Fraize cc: FreeBSD Hackers Subject: Re: for loop at your command prompt In-Reply-To: <3506FEC1.7D9312B2@merrimack.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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