Article View: alt.uu.comp.os.linux.questions
Article #157Re: Can Red Hat Linux run Shell Script?
From: Jason Clifford
Date: Sat, 21 Aug 1999 00:00
Date: Sat, 21 Aug 1999 00:00
23 lines
2301 bytes
2301 bytes
On Sat, 21 Aug 1999, Dominic Tse wrote:
> I'm a newie of Linux. As I am currently studying Systems Programming (Unix),
> I have installed Linux on my PC to practice and familiar with it. I am
> currently trying to run C shell script under the Linux. It seems to me that
> it doesn't like to execute the script although I've done "chmod u+x
> script_program". The error message is something like "command not found".
> Can anyone please give me some ideas?
how are you calling your script? If you are not using ./ to explicitely
point to the script the system will not be able to find it.
Do remember that the current directory (.) is NOT in your PATH by default
and should not be there.
Try ./script_program.
Oh, and execute rpm -q tcsh to ensure that you do actually have the csh
package installed.
Jason Clifford http://www.dlsl.demon.co.uk/
** Specialist Linux Consultancy and Support Services **
**** Linux Workstation and Server Systems ****
Technical Details
Message-ID:
<Pine.LNX.4.10.9908211041590.725-100000@laptop.jasonclifford.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7plmre$8e1$1@toto.tig.com.au>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1101c9,d9db4d784d4d5b62 X-Google-Attributes: gid1101c9,public X-Google-Thread: 10d8ad,d9db4d784d4d5b62 X-Google-Attributes: gid10d8ad,public X-Google-Thread: f9b51,d9db4d784d4d5b62 X-Google-Attributes: gidf9b51,public X-Google-Thread: 10a997,d9db4d784d4d5b62 X-Google-Attributes: gid10a997,public X-Google-Thread: fe2cf,d9db4d784d4d5b62 X-Google-Attributes: gidfe2cf,public X-Google-Thread: 102983,d9db4d784d4d5b62 X-Google-Attributes: gid102983,public X-Google-Thread: fcfb9,d9db4d784d4d5b62 X-Google-Attributes: gidfcfb9,public From: Jason Clifford <jason@dlsl.demon.co.uk> Subject: Re: Can Red Hat Linux run Shell Script? Date: 1999/08/21 Message-ID: <Pine.LNX.4.10.9908211041590.725-100000@laptop.jasonclifford.com> X-Deja-AN: 515445350 X-NNTP-Posting-Host: dlsl.demon.co.uk:194.222.129.182 References: <7plmre$8e1$1@toto.tig.com.au> X-Sender: jason@laptop.jasonclifford.com Content-Type: TEXT/PLAIN; charset=US-ASCII X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 935231407 nnrp-01:27929 NO-IDENT dlsl.demon.co.uk:194.222.129.182 MIME-Version: 1.0 Newsgroups: alt.uu.comp.os.linux.questions,at.linux,aus.computers.linux,comp.os.linux.advocacy,comp.os.linux.setup,linux.redhat,uk.comp.os.linux