lsappinfo
Control and query CoreApplicationServices about the app state on the system. More information: https://keith.github.io/xcode-man-pages/lsappinfo.8.html.
- List all running applications with their details:
lsappinfo list
- Show the front application:
lsappinfo front
- Show the information for a specific application:
lsappinfo info {{com.apple.calculator}}