Force a shell script to run in the terminal

0
  

The user will download the script from an internal site and run it. What I wanted was that after the download the user gives two clicks on the script and it runs and does not open for editing.

Is there a way to force a script shell into the terminal through the graphical interface?

When I double-click the .sh or .run it opens in the text editor. If you rename it to .bin it says that you do not know what to do and ask to search the program center.

I have already compiled with shc to see if it was running but it did not work. Ideas?

    
asked by anonymous 21.12.2018 / 18:53

1 answer

1

Depending on the graphical interface, right-clicking and going into properties you can direct to what you want to open by default, similar to what exists in Windows as well.

    
27.12.2018 / 17:35