1

I have created the below script.

#!/bin/bash
sudo echo "Hi, I'm root"

It is inside a file called script.sh

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?

dessert
  • 39,982
  • Thank you, but that is not what i wanted, I just wanted to make a script that runs something, it works now by enabling nautilus script run :) –  Mar 17 '19 at 14:58
  • OK, comment removed since that is not what you are looking for then. – Terrance Mar 17 '19 at 15:01

0 Answers0