2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

macで起動中のApp一覧をターミナルで取得する

Last updated at Posted at 2019-11-05

MacOS で起動中のアプリの一覧を、ターミナルのCUIで得る方法。

$ osascript -e 'tell application "System Events" to get name of (processes where background only is false)'
# => Finder, Mail, Google Chrome, 1Password, Inkdrop, Preview, Dictionary, iTerm2, Karabiner-Elements, clion, MacVim

参考 : https://stackoverflow.com/questions/7929872/get-list-of-running-apps-on-mac-os-x-in-bash

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?