View Single Post
  #1   (View Single Post)  
Old 6th November 2010
guitarscn guitarscn is offline
Package Pilot
 
Join Date: Oct 2008
Posts: 166
Default Bash script cannot execute - Is a directory

Whenever I execute a bash script, I get this error:

Code:
$ ./script.sh  
hello world
./script.sh[3]: /home/guitarscn: cannot execute - Is a directory
Here is the script:
Code:
#!/bin/ksh
echo "hello world"
Why is this?
Reply With Quote