Skip to content

Instantly share code, notes, and snippets.

@takano32
Forked from laiso/appps.bash
Created November 27, 2012 09:26
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save takano32/4153310 to your computer and use it in GitHub Desktop.
Save takano32/4153310 to your computer and use it in GitHub Desktop.
[OS X]起動中のアプリケーション一覧を出力するシェルスクリプト
#! /bin/bash
ps ax -o command | sed -ne 's/.*\/Applications\/\([^/]*\)\.app\/.*/\1/p' | sort -u
$ ps ax -o command | sed -ne 's/.*\/Applications\/\([^/]*\)\.app\/.*/\1/p' | sort -u
Alfred
Boxcar Mac
Dropbox
Emacs
Google Chrome
Google Drive
Growl
LimeChat
Skype
Witch
Yammer
YoruFukurou
iTunes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment