How do I make a chmod file executable?

How do I make a chmod file executable?
Answer
Make a file executable in Terminal on Mac
  1. In the Terminal app on your Mac, use the cd command to move into the directory that contains the file you want to make executable. For example: % cd YourScriptDirectory.
  2. Enter the chmod command. For example: % chmod 755 YourScriptName.sh.
 

Tìm kiếm

Back
Top