From owner-freebsd-questions@FreeBSD.ORG Mon Jun 16 09:15:27 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B533A37B401 for ; Mon, 16 Jun 2003 09:15:27 -0700 (PDT) Received: from sage-one.net (adsl-65-71-135-137.dsl.crchtx.swbell.net [65.71.135.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id E117943F93 for ; Mon, 16 Jun 2003 09:15:26 -0700 (PDT) (envelope-from jackstone@sage-one.net) Received: from sagea (adsl-65-68-247-73.dsl.crchtx.swbell.net [65.68.247.73]) by sage-one.net (8.12.8p1/8.12.8) with SMTP id h5GGFPTM080646 for ; Mon, 16 Jun 2003 11:15:25 -0500 (CDT) (envelope-from jackstone@sage-one.net) Message-Id: <3.0.5.32.20030616111517.0137e538@sage-one.net> X-Sender: jackstone@sage-one.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Mon, 16 Jun 2003 11:15:17 -0500 To: freebsd-questions@freebsd.org From: "Jack L. Stone" Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, hits=0.0 required=4.5 tests=none version=2.54-sage_one.rules_v1 X-Spam-Checker-Version: SpamAssassin 2.54-sage_one.rules_v1 (1.174.2.17-2003-05-11-exp) Subject: Running a rand or random script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jun 2003 16:15:28 -0000 I need to run a script, perhaps using FBSD's 'rand' or 'random' command (or any other) that will generate one single 5-digit number 'at random' between 00001-99999 Anyone have thoughts on how to do this....?? Many thanks for any suggestions. Best regards, Jack L. Stone, Administrator SageOne Net http://www.sage-one.net jackstone@sage-one.net