Date: Wed, 12 Nov 1997 14:10:29 +0200 (IST) From: Eli Zaretskii To: Nate Eldredge cc: Eugene , djgpp AT delorie DOT com Subject: Re: Rhide for Linux. Lost file. In-Reply-To: <199711112016.MAA18270@adit.ap.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 11 Nov 1997, Nate Eldredge wrote: > >I have written script file (-rwxr-xr-x) for bash in the editor of Rhide > >1.4.1 for Linux . Bash does not find this file. Same file written by Jed > >works. What not correctly? :-( > Hmm. What do you mean, "does not find the file"? > Try `diff' between the two versions. > Make sure the magic "#! /bin/bash" is there. > Is it along the search path, or are you using an explicit path for it? Check out the following two gotchas: - you need to make the script executable: chmod a+x script - it needs to be on the PATH, or have an explicit "./" prefix: ./script The latter is because on Unix, by default the current working directory is NOT searched for executables.