Monday, June 24, 2013

How to execute *.sh files on Linux

Hey everyone, this is a very simple tutorial which shows you how to execute .sh files step by step:

1)Download the file that you are going to execute e.g. "name_of_file.sh" and save it in a folder you desire e.g Downloads

2)Open the Terminal (  Ctrl+Alt+T )

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

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.

No comments:

Post a Comment