Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a .sh script ( which I downloaded from the web. The script contains codes to download huge climate data files.

Can you tell me how to run this file on Linux? It is easy for me to run a file which exist in my directory. The file above has been downloaded from the web and how can I add to my current directory or run directly on terminal?

Regards, Elv.

share|improve this question

You need to make it executable. you can use chmod +x filename

or you can right click and select the make executable check box.

Then you can run it by clicking it or even in the terminal with sh or just ./

share|improve this answer

You can probably just right click the file, select Properties > Rights and tick the box called something like "Allow running this file as an executable". After that, you just double click it.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.