From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 21:18:13 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 ECAA216A41F for ; Fri, 9 Sep 2005 21:18:13 +0000 (GMT) (envelope-from bobself@charter.net) Received: from mxsf17.cluster1.charter.net (mxsf17.cluster1.charter.net [209.225.28.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id 860C343D4C for ; Fri, 9 Sep 2005 21:18:13 +0000 (GMT) (envelope-from bobself@charter.net) Received: from mxip27a.cluster1.charter.net (mxip27a.cluster1.charter.net [209.225.28.184]) by mxsf17.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id j89LICLK027284 for ; Fri, 9 Sep 2005 17:18:12 -0400 Received: from 24-177-225-234.dhcp.spbg.sc.charter.com (HELO [127.0.0.1]) ([24.177.225.234]) by mxip27a.cluster1.charter.net with ESMTP; 09 Sep 2005 17:18:10 -0400 X-IronPort-AV: i="3.96,183,1122868800"; d="scan'208"; a="172129551:sNHT15194484" Message-ID: <4321FC0D.5060904@charter.net> Date: Fri, 09 Sep 2005 17:18:05 -0400 From: bob self User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Peter A. Giessel" References: <4321DC05.3050509@charter.net> <4321F0D1.30508@dot.state.ak.us> In-Reply-To: <4321F0D1.30508@dot.state.ak.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Can't execute a script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Sep 2005 21:18:14 -0000 Peter A. Giessel wrote: >On 9/9/2005 11:01, bob self seems to have typed: > > >>If I run "which scripttest", I get /root/bin/scripttest >> >>But if I try to run this test script I get "scripttest: Command not found." >> >> > >Its a stupid thought, but could you run "which sh"? >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > > I also should mention that I have many other shell scripts in /root/bin and most of them work. I only have two that don't work besides this test script, but I can't see why they shouldn't work. Bob