Re: Weird behaviour with Script files
- From: Steve <user@xxxxxxxx>
- Date: Tue, 26 Jun 2007 00:30:47 +0100
ynotssor wrote:
In news:f5pa7d$rkr$1$8302bc10@xxxxxxxxxxxxxxxx,
Steve <user@xxxxxxxx> wrote:
When I tried to start on my CentOS machine, a script file, I have the
answer : Bad Interepreter !! !??!?!
Any idea what it could it be ?
All my script files, start by :
#!/bin/bash
For starters, please post the output of these commands:
ls -l /bin/bash script_file
file $(which bash)
Hi Ynotssor
ls -l /bin/bash script_file
=> -rwxr-xr-x 1 root root 616248 /bin/bash
file $(which bash)
/bin/bash:ELF 32-bit LSB executable, Intel 80386, version 1....
i made this test on the machine which doesn't work and on one which
works... I cannot see any differences...
i have created a file with just
-------------
#!/bin/bash
#
mount --bind /etc/rr /home/user1/tt
---------------
with the right of X
=> Bad interpreter
Do you think that the system is corrupted ?
thanks and regards,
Steve
.
- Follow-Ups:
- Re: Weird behaviour with Script files
- From: ynotssor
- Re: Weird behaviour with Script files
- References:
- Weird behaviour with Script files
- From: Steve
- Re: Weird behaviour with Script files
- From: ynotssor
- Weird behaviour with Script files
- Prev by Date: Re: file sytem/sectors check
- Next by Date: Re: Weird behaviour with Script files
- Previous by thread: Re: Weird behaviour with Script files
- Next by thread: Re: Weird behaviour with Script files
- Index(es):
Relevant Pages
|