[colug-432] Script basic

Aaron Howard archanoid at gmail.com
Wed May 13 13:56:59 EDT 2015


/root is not in your path.

Try ./server_setup.sh
On May 13, 2015 1:55 PM, "Steve VanSlyck" <s.vanslyck at postpro.net> wrote:

>  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
>
> _______________________________________________
> colug-432 mailing list
> colug-432 at colug.net
> http://lists.colug.net/mailman/listinfo/colug-432
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.colug.net/pipermail/colug-432/attachments/20150513/30b63dff/attachment.html 


More information about the colug-432 mailing list