Grad2012
asked on
Script
What do you have to do to the script to be able to execute it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here is your test script
Save it as hello.sh
Then issue command
chmod 755 hello
Then run it
./hello.sh
#!/bin/bash
echo "HELLO WORLD"
Save it as hello.sh
Then issue command
chmod 755 hello
Then run it
./hello.sh
You must also specify the path to the script if it is not in the path... ie /foo/foo/foo.sh or if currently in the directory, just ./foo.sh
ASKER
Thank you
ASKER