title: How to open and close apps using bash in MacOS
body: <p>I want to open an app(.app) from a bash shell(.sh using #!/usr/bin/bash) which is located in a folder in /Applications. How do I open it?<br>
  If I can open it, can I close it? If yes, how?</p>