Skip to content

Instantly share code, notes, and snippets.

@stefanschmidt
Last active July 18, 2020 22:54
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stefanschmidt/5491071 to your computer and use it in GitHub Desktop.
Save stefanschmidt/5491071 to your computer and use it in GitHub Desktop.
Show all third party extensions on OS X (From forum posting by Linc Davis)
# Show all thirdparty kernel extensions
kextstat -kl | awk '!/com\.apple/ {print $6 $7}'
# Show all thirdparty launch services (root)
sudo launchctl list | sed 1d | awk '!/0x|com\.apple/ {print $3}'
# Show all thirdparty launch services (user)
launchctl list | sed 1d | awk '!/0x|com\.apple/ {print $3}'
# Show all extensions in the library folders
ls -1A /e*/mach* {,/}L*/{Ad,Compon,Ex,Fram,In,Keyb,La,Mail/Bu,P*P,Priv,Qu,Scripti,Servi,Spo,Sta}* L*/Fonts 2> /dev/null
# Show all login items
osascript -e 'tell application "System Events" to get the name of every login item'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment