Why bash are not executed when I double click on them?
They are executable but they are not executed. Instead they are opened with gedit.
Why bash are not executed when I double click on them?
They are executable but they are not executed. Instead they are opened with gedit.
Open Nautilus: Edit -> Preferences -> Behavior.
Select "Ask each time" under "Executable Text Files".
Now you can double-click your executable text file in Nautilus to be asked whether to execute or edit your script.