This question already has an answer here:

I have HP 32-bit laptop with ubuntu 16.04 lts OS. I want to install a software which comes with .sh (e.g. abcd.sh). Now I download this file in Download folder, and from terminal I go to this folder first and ran:

$ cd Download
$ ./abcd.sh
bash: ./abcd.sh: Permission denied

Whats wrong with all those commands? How can I execute the file?

marked as duplicate by muru bash Aug 4 '17 at 2:54

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • you just need to run bash ./filename.sh – Guilherme Sep 1 at 14:01

You need to make it executable first, run

chmod +x filename.sh


  • You don't need sudo for this. – muru Aug 4 '17 at 2:54
  • Verifying archive integrity. Extracting installer. .............. CRITICAL FAILURE: PrintIntroduction() Error $ProductTitle not defined. Installation failed. See /tmp/InstallErrors-8058. – Bapi Saha Aug 29 '17 at 16:19
  • but still there is a problem as I stated above, now what is the problem ? @HaithamA.El-Ghareeb – Bapi Saha Aug 29 '17 at 16:20
  • Can you specify the software? Are you sure it is the same as your processor architecture? – Haitham A. El-Ghareeb Aug 30 '17 at 2:16

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