Run shell/bash script from gui


By default when we double click on shell/bash script it will open with gedit.

To execute a shell/bash script from GUI use following procedure:

  • Right click on the script file and select properties.
  • Go to Permissions tab.
  • Now enable Execute by clicking Allow executing files as program.
  • After updating execute permissions, again double click your script, it will show following popup


  • Select Run in Terminal/Run option in above popup, this will start executing script.

One comment on “Run shell/bash script from gui

  1. Pingback: gnome terminal open new tab with script from GUI | Sany's Linux and Open Source Blog

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s