I am trying to find a way by which I can start and stop MAMP PRO's Apache and mysql using command line.
So far whatever I have search has only helped me start MAMP PRO.
Save the script and give executable rights such as:
chmod +x start.sh
Then use it like
./start.sh Start or
./start.sh Stop or