I am writing my first bash script, so sorry noobie-ness.
He called hello.bash, and here is what it contains:
#!/bin/bash
echo Hello World
I did
chmod 700 hello.bash
to give me permissions to execute.
Now when i type
exec hello.bash
My putty terminal shuts down instantly. What am I doing wrong?
source
share