Mac 可执行脚本

  • 制作一个可执行脚本,
touch fileName.sh
  • 给脚本添加可执行权限
chmod 755 fileName.sh

*使用

./fileName.sh

你可能感兴趣的:(Mac 可执行脚本)