Thanks at all .. i solve in these way:
#!/bin/sh cd '/home/mypc/linuxcnc-dev' scripts/rip-environment linuxcnc Il giorno ven 28 set 2018 alle ore 05:13 Dewey Garrett <dgarr...@panix.com> ha scritto: > In <cag9vttop8jvl6ppjuaiz3w2gpduvtssfkkx9mbyoqusvgzc...@mail.gmail.com> > theman whosoldtheworld <bleachk...@gmail.com> writes: > > >I try to run this simple script: > >#!/bin/sh > > /bin/sh is typically NOT the bash shell: > > $ which bash > /bin/bash > > so, try using: > #!/bin/bash > > > Aside: use of the dot (.) notation for sourcing a file is sometimes > confusing to new users. The following are equivalent in the > bash shell: > > . path_to_some_file > source path_to_some_file > > Ref: man bash > > -- > Dewey Garrett > > > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users