From owner-freebsd-questions@FreeBSD.ORG Fri Sep 9 19:49:58 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 61B0C16A41F for ; Fri, 9 Sep 2005 19:49:58 +0000 (GMT) (envelope-from bobself@charter.net) Received: from mxsf37.cluster1.charter.net (mxsf37.cluster1.charter.net [209.225.28.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id D1C2443D45 for ; Fri, 9 Sep 2005 19:49:57 +0000 (GMT) (envelope-from bobself@charter.net) Received: from mxip05a.cluster1.charter.net (mxip05a.cluster1.charter.net [209.225.28.135]) by mxsf37.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id j89JnuMr028471 for ; Fri, 9 Sep 2005 15:49:56 -0400 Received: from 24-177-225-234.dhcp.spbg.sc.charter.com (HELO [127.0.0.1]) ([24.177.225.234]) by mxip05a.cluster1.charter.net with ESMTP; 09 Sep 2005 15:49:57 -0400 X-IronPort-AV: i="3.96,183,1122868800"; d="scan'208"; a="1405700736:sNHT16999952" Message-ID: <4321E75E.1020801@charter.net> Date: Fri, 09 Sep 2005 15:49:50 -0400 From: bob self User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Glenn Dawson References: <4321DC05.3050509@charter.net> <6.2.3.4.2.20050909123028.095fce00@cobalt.antimatter.net> In-Reply-To: <6.2.3.4.2.20050909123028.095fce00@cobalt.antimatter.net> 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 19:49:58 -0000 Glenn Dawson wrote: > Assuming you're using csh, did you rehash after creating the script? > Did you try to execute it with it's full path? like: > /root/bin/scripttest > > -Glenn > Yes, I did 'rehash'. I'm running tcsh as root, FreeBSD 6.0. Also, I ran "/root/bin/scripttest" and I still get "command not found".