Is it possible to get the list of running Apps using Bash?
I'm not talking about processes, but the apps in the Dock (and also the ones in the menubar would be nice).
Launch Terminal (Finder > Applications > Utilities). When Terminal is running, type top and hit Return. This will pull up a list of all your currently running processes. As in the Activity Monitor, this list shows your processes in decreasing order of how much of your resources they're consuming.
Press Cmd + Alt + Escape to see the Force Quit Applications menu. This shows all running apps, and lets you force-quit them if necessary – just highlight the app and click Force Quit. It's not possible to jump to open apps from this menu, only to close them.
In the Activity Monitor app on your Mac, in the View menu, choose one of the following: All Processes: Shows all the processes running on your Mac. All Processes, Hierarchically: Shows processes that belong to other processes, so you can see the parent/child relationship between them.
osascript -e 'tell application "System Events" to get name of (processes where background only is false)'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With