Re: My bash script is missing something - what?
Richard Owlett wrote:
> I have a trivial bash script named test.sh which has been marked
> as executable.
> Its contents are:
>
> #!/bin/bash
> cat /etc/debian_version
> mount | grep 'on / '
>
> In a terminal I type:
>
> test.sh
>
> The response is:
> bash: test.sh: command not found
>
> I'm using Squeeze with Gnome2 as DE.
> What's wrong?
> TIA
also remember that test itself is a builtin
or binary on some systems.
you may be running on thing and thinking
you are running another.
in this particular case with the .sh
extension you are safe, but forget that
once and ...
songbird
Reply to: