[xubuntu-users] Not able to execute .sh files

Fred Roller fredroller66 at gmail.com
Wed Nov 25 21:16:17 UTC 2015

Is the .sh file still executable after the update

-rwxrwxr-x 1 user user 29 Nov 25 16:03 HelloWorld.sh*

note the "x" in the permissions.
If not then from command line...

chmod +x [filename]

to add to the given file.  If you suspect a bug then from cli...

vi HelloWorld.sh [or your fav editor]

#! bash
echo "Hello World"

save and exit editor. Then make executable with...

chmod +x HelloWorld.sh

then execute the program...


which should produce...

user@~$ ./HelloWorld.sh
Hello World

do this as your user, not sudo, and should tell you whether or not there 
is an issue.  If it executes then the issue will most likely be 
permissions in the .sh programs that are failing or the program itself.  
After the test you can erase the HelloWorld.sh program. ;)


On 11/25/2015 06:18 AM, JMZ wrote:
> Even if I try to execute it using terminal nothing happens.
> Any suggestions?

More information about the xubuntu-users mailing list