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:

Restrict SSH and Allow with SFTP

Create SFTP user:  ``` sudo useradd -M -s /sbin/nologin sftpuser sudo passwd sftpuser ``` Add below lines into, /etc/ssh/sshd_config ``` Mat...