Re: Bash-script – doesn't work in a launcher
anothermindbomb at gmail.com
Sat Dec 31 17:18:42 UTC 2011
On 31 December 2011 17:00, Johnny Rosenberg <gurus.knugum at gmail.com> wrote:
> Of course the first line of the script is #! /bin/bash. Well, except a
> few comment lines above it, but that shouldn't matter, should it?
> So it's basically something like this:
> # Comment
> # Continuation of comment
> # Another comment
> # More comments
The hash-bang line needs to be the first line in the script. Move that
to the top of the script, stick in a "set -x" if you want to see
what's happening under the covers.
When one person suffers from a delusion it is insanity. When many
people suffer from a delusion it is called religion.
More information about the ubuntu-users