.SH files are opening in gedit instead of executing

I was really annoyed with this behavior of ubuntu gui (nautilus) . Whenever I click on a executable (.sh)  , instead of executing it opens up in gedit.  The solution is to go to edit->preferences and change behavior setting like this …

Screenshot from 2014-11-15 10:11:45

Leave a Reply

Your email address will not be published. Required fields are marked *