Re: Running a C Script
- From: Riemer Palstra <riemer@xxxxxxxxxxx>
- Date: 30 Oct 2007 01:07:24 GMT
On 2007-10-29, Karthik <Srikumar.karthiknarayanan@xxxxxxxxx> wrote:
I use a Redhat Enterprise 4.0 OS, I am running a Script that is
written on C Code, When i run the script it gives me a error that
command not found.
[root@ssh-mach3 /root]# ./Script_Red_Hat_Linux_20071023.sh
./Script_Red_Hat_Linux_20071023.sh: Command not found.
Well, C code is usually compiled after which the created binary is run,
and in this case, if you should believe the filename, this looks more
like a bash/sh/csh script to me.
Try cat'ing or less'ing the file and see if you get any readable output.
It could be that the first line contains an invalid path to a script
interpreter, which needs to be corrected.
--
Riemer Palstra
riemer@xxxxxxxxxxx
.
- Follow-Ups:
- Re: Running a C Script
- From: Jan Gerrit Kootstra
- Re: Running a C Script
- References:
- Running a C Script
- From: Karthik
- Running a C Script
- Prev by Date: Re: circular dependency with Red Hat Enterprise Linux 5?
- Next by Date: Re: Running a C Script
- Previous by thread: Running a C Script
- Next by thread: Re: Running a C Script
- Index(es):
Relevant Pages
|