Easiest way is to type the entire path to the executable. Since the script is being run in a non-interactive mode that's probably the best solution.
Mark On Thu, Sep 27, 2018, 13:02 theman whosoldtheworld <bleachk...@gmail.com> wrote: > I try to run this simple script: > > #!/bin/sh > > cd '/home/bmeccoffice/linuxcnc-dev' > > . ./scripts/rip-environment > > linuxcnc > but in terminal I get an error about . ./ obviusly in a bash script is not > accept these command (. space .) .... there are other way to write it? > > regards > bkt > > _______________________________________________ > 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