This question already has an answer here:
I have created the below script.
#!/bin/bash sudo echo "Hi, I'm root"
It is inside a file called
I have checked the permission to run as a program inside properties. When I double click, nothings happens. The only thing that happens is that the text editor opens. How can I see what is going wrong?