From owner-freebsd-questions Mon Nov 12 22:54: 0 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net [194.159.73.20]) by hub.freebsd.org (Postfix) with ESMTP id 798FA37B417 for ; Mon, 12 Nov 2001 22:53:56 -0800 (PST) Received: from [212.238.77.116] (helo=buffy.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.33 #1) id 163XSF-0001Cc-00 for freebsd-questions@FreeBSD.ORG; Tue, 13 Nov 2001 06:53:55 +0000 Received: by tanya.raggedclown.net (Postfix on SuSE Linux 7.3 (i386), from userid 500) id 0DF7310EE; Tue, 13 Nov 2001 07:42:35 +0100 (CET) Date: Tue, 13 Nov 2001 07:42:35 +0100 From: Cliff Sarginson To: freebsd-questions@FreeBSD.ORG Subject: Re: unix question Message-ID: <20011113074235.B1516@raggedclown.net> References: <000801c16beb$d54a7dc0$d9c89d18@mtki1.on.home.com> <200111130540.fAD5eWp01175@home.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200111130540.fAD5eWp01175@home.com> User-Agent: Mutt/1.3.22.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, Nov 12, 2001 at 11:40:32PM -0600, mcbrune wrote: > You can type "sh shell.sh" to execute the script. > > You will need read access to execute the script if the execute bit is turned off. > > Corey > Way 2. You can source it with a ".", this runs it inline in the current shell. e.g. . shell-script No you cannot execute it without read permission. -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message