how to run php bin/magento command on putty code example
Example 1: run sh from terminal mac
chmod +x fileName
bash fileName
Example 2: launch bash script from application mac without opening terminal
#!/bin/bash
chmod +x fileName
bash fileName
#!/bin/bash