Linux shell script erroroing out due to /usr/bin/sh -
i trying run shell script on redhat linux install app. getting error saying /usr/bin.sh: bad interpreter: no such file or directory.
in shell script script begins with:
#!/usr/bin/shbuild_id=$1.....
i trying understand path @ begining of line for? directory looks deploy app?
thanks
the first line should #!/usr/bin/sh
or #!/bin/sh
if shell script.
if first line #!/usr/bin/sh
try see if /usr/bin/sh exist , ls -l /usr/bin/sh
if cant find sh
system in bad stat.
Comments
Post a Comment