<div dir="ltr"><div><div><div><div><div><div><div>Hi.<br><br></div>Sorry for not replying earlier but did not have time to test your suggestion.<br></div>I think that I have made a mistake typical of a Window user.<br><br></div>If I type in terminal: spoon.sh, then I have "spoon.sh: command not found".<br></div>If I type in terminal: ./spoon.sh, then everything works OK.<br><br></div>My question is then: why does it work using ./ ?<br><br></div>Thanks for your help.<br></div>Michele<br><div><div><div><br><div><div><div><br></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 25, 2015 at 10:10 PM, Fred Roller <span dir="ltr"><<a href="mailto:fredroller66@gmail.com" target="_blank">fredroller66@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">True, ty. Better programming practice.<span class="im HOEnZb"><br>
<br>
On 11/25/2015 04:49 PM, Ian wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Try changing the first line of your script from #! bash to #! /bin/bash<br>
</blockquote>
<br>
<br></span><div class="HOEnZb"><div class="h5">
-- <br>
xubuntu-users mailing list<br>
<a href="mailto:xubuntu-users@lists.ubuntu.com" target="_blank">xubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/xubuntu-users" rel="noreferrer" target="_blank">https://lists.ubuntu.com/mailman/listinfo/xubuntu-users</a><br>
</div></div></blockquote></div><br></div>