Help with writing a script
Trying to write a script and am having no luck getting it to run the way I want. So I've started from the very beginning and am now trying to write a simple Hello World script. Here's what I have:
echo Hello World
Named the file vpndns and saved it to \system\xbin
\system\xbin is in my path. Verified with the set command.
When I run it as:
I get Permission Denied so I cd to \system\xbin and chmod 755 vpndns.
Now when I run it I get "not found".
If I change to the \system\xbin\ I receive the same error. But if I run it as:
My intent was to run it without the 'sh' from any dir. Can anyone shed some light on what I'm doing wrong?