[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: My bash script is missing something - what?



you need to do:
./test.sh
instead.


On Mon, Oct 10, 2016 at 7:54 PM, Richard Owlett <rowlett@cloud85.net> 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








--
Courtier "Sire I have bad news!"
King "Yes, what is it?"
Courtier "The peasants are revolting."
King "Yes they always have been. Now what is the bad news?"

Reply to: