1

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?

muru
  • 197,895
  • 55
  • 485
  • 740
Bapi Saha
  • 459
  • 3
  • 11
  • 25

1 Answers1

5

You need to make it executable first, run

chmod +x filename.sh

Then

./filename.sh