Somehow somwhere or in most of the stuff you need to make your shell file .sh or .bin file as executable. So to do that simple open the terminal and write the following command

chmod +x filename.sh

Well that gonna make your file executable which can be run from terminal by simple command

sudo ./filename.sh

There is another way of doing it through GUI, when you right click on the file and goto permissions tab then you get an option to make the file executable show as below :

executable shell How to make shell or sh , bin file executable in ubuntu

Hope this helps you icon smile How to make shell or sh , bin file executable in ubuntu

Cheers!!
Realin !

Tags: howto, Linux, tips, tweaks, Ubuntu

Posted in: Linux

Delivered by FeedBurner

Share this Post