How do I create a Unix executable file on a Mac?

Hằng Đoàn

New member
How do I create a Unix executable file on a Mac?
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