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

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -