From owner-freebsd-questions Sat Jan 3 21:24:42 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA01690 for questions-outgoing; Sat, 3 Jan 1998 21:24:42 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from pau-router.itb.ac.id (pau-router.ITB.ac.id [167.205.22.99]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id VAA01667 for ; Sat, 3 Jan 1998 21:24:33 -0800 (PST) (envelope-from kadex@design.paume.itb.ac.id) Received: from design.paume.itb.ac.id (design.paume.itb.ac.id [167.205.21.100]) by pau-router.itb.ac.id (8.8.5/8.8.5) with ESMTP id MAA24772 for ; Sun, 4 Jan 1998 12:29:18 +0700 (JAVT) Received: from DESIGN/MAIL by design.paume.itb.ac.id (Mercury 1.21); 4 Jan 98 11:44:12 +0700 Received: from MAIL by DESIGN (Mercury 1.21); 4 Jan 98 11:43:53 +0700 Received: from Tanner.design.paume.itb.ac.id by design.paume.itb.ac.id (Mercury 1.21); 4 Jan 98 11:43:49 +0700 Message-ID: <34AF1383.650C@design.paume.itb.ac.id> Date: Sun, 04 Jan 1998 11:43:47 +0700 From: kadex X-Mailer: Mozilla 3.01Gold (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: how to modify it ? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dear sir, i have some script.. here it is. -------------------------------------- while : ; do #start echo "hello..!!" #first command cd /etc #second command whoami #third command #end done -------------------------------------- i wanna modify that scipt, therefore first-command, second-command, and third command run arbitrary (randomly). Could you help me how to do it ? finally, thank for your attention. sulaiman nb: please send your answer to sulaiman@students.itb.ac.id