there must be an easy answer to this....
i can run things from the prompt in bash. if i put the same thing in a file, and then try to run the file, it gives:
-bash: test: command not found
have tried at the top of the file
and nothing at the top, just trying to get echo to work, everything works fine if i just enter it from the $
question is i guess, what do i need to include or put at the top of the file to execute it?
i am in directory when i try this, it has 777 permissions.