Linux Programmer | RHCE | RHCSA

Search This Blog

Tuesday, 8 January 2019

How to run executable scripts in Nautilus?

when i am trying to open executable scripts (e.g. .sh) from nautilus then it will directly open scripts into text editor.


Solution:
1. open Nautilus
2. Open this from menu bar.
           settings -> Preferences
3. Select the 'Behavior' tab.
4. Select "Ask each time" under "Executable Text Files".
5. Close the window.

enter image description here

And it works.

2 comments:

These 15 resources will sharpen you for interviews and real production chaos

  1. Explainshell – paste any bash command, and it breaks it down word by word. No more guessing awk or sed. 2. KubeSim – browser-based Kube...