🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.uu.comp.os.linux.questions
Article #153

Re: Can Red Hat Linux run Shell Script?

#153
From: Erik Duisters
Date: Mon, 23 Aug 1999 00:00
32 lines
2008 bytes
Hi,

If you don't like the ./ in front of you're script_FileName make sure "." is part
of the PATH environment variable.



Nick Ruisi wrote:

> 1:
> chmod 755 /script_FileName
> cd script_FileNameDirectory
> ./script_FileName
>
> 2:
> sh /fullPathToScript
>
> Dominic Tse wrote:
>
> > Hi,
> >
> > 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?
> >
> > --
> > dom
> > dominictse@netscape.net
> > http://homepages.tig.com.au/~jtse/
Technical Details
Message-ID: <37C14000.63EBEC59@total4.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <7plmre$8e1$1@toto.tig.com.au> <37C0B070.B4EA4E44@softhome.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fe2cf,d9db4d784d4d5b62
X-Google-Attributes: gidfe2cf,public
X-Google-Thread: 10d8ad,d9db4d784d4d5b62
X-Google-Attributes: gid10d8ad,public
X-Google-Thread: 1101c9,d9db4d784d4d5b62
X-Google-Attributes: gid1101c9,public
X-Google-Thread: f9b51,d9db4d784d4d5b62
X-Google-Attributes: gidf9b51,public
X-Google-Thread: fcfb9,d9db4d784d4d5b62
X-Google-Attributes: gidfcfb9,public
X-Google-Thread: 102983,d9db4d784d4d5b62
X-Google-Attributes: gid102983,public
X-Google-Thread: 10a997,d9db4d784d4d5b62
X-Google-Attributes: gid10a997,public
From: Erik Duisters <erik@total4.nl>
Subject: Re: Can Red Hat Linux run Shell Script?
Date: 1999/08/23
Message-ID: <37C14000.63EBEC59@total4.nl>
X-Deja-AN: 516146279
Content-Transfer-Encoding: 7bit
References: <7plmre$8e1$1@toto.tig.com.au> <37C0B070.B4EA4E44@softhome.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Ascom Switzerland, Bern, Switzerland
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