[colug-432] Script basic

Steve VanSlyck s.vanslyck at postpro.net
Wed May 13 13:53:30 EDT 2015


I have a script. The first line is

*#!/bin/bash*

When I run the script, I get a command not found error:

*[root at vslaw2 ~]# server_setup.sh** * *-bash: server_setup.sh: command
not found*

I see bash at /bin . . . *[root at vslaw2 ~]# ls -lsap /bin/bash * *884
-rwxr-xr-x 1 root root 904872 Oct 16 2014 /bin/bash*

. . . and my script appears to have the correct permissions
  *[root at vslaw2 ~]# ls -lsap server_setup.sh * *8 -rwxr-xr-x 1 root root
  4232 May 13 13:40 server_setup.sh*

Anyone have an idea what I'm doing wrong?


(And by the way I seriously appreciate all the help!)


Steve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20150513/6bc8e507/attachment.html 


More information about the colug-432 mailing list