jueves, 5 de febrero de 2015

Linux - How to execute *.sh

This is a very simple tutorial which shows you how to execute .sh files step by step:

1)First of all, download the file that you are going to execute e.g. "name_of_file.sh" and save it in your Desktop

2)Secondly open the Terminal from Menu Accessories Terminal

3)Now type cd ~/Desktop (With this command we change the default directory "/" to "/Desktop")

4)Then type chmod +x name_of_file.sh to make your file executable.

5)Then type sh ./name_of_file.sh to execute the file.

6)After that continue as usual.