#problem with running a bash script

8 messages · Page 1 of 1 (latest)

mystic phoenix
#

i did make it executable

#

the file name is also correct

manic surge
# mystic phoenix

can you show the script? it seems to be referencing some other thing, are you sure you put in the correct path?

blazing cape
#

a) the topmost line of the script must start with shebang: #!/bin/bash

#

b) saved file must be marked executable in its Properties>Perm's

#

c) you can only dot-slash it from where IT ACTUALLY RESIDES

#

(or dot-slash a link of it, if u made a symlink of the script)