Skip to content

Instantly share code, notes, and snippets.

@lhazlewood
Created July 21, 2016 20:41
Show Gist options
  • Save lhazlewood/af41cebe0f249eabd857541c43bf8e37 to your computer and use it in GitHub Desktop.
Save lhazlewood/af41cebe0f249eabd857541c43bf8e37 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo `ps -A | grep coreaudiod | grep -v grep`
sudo kill `ps -A -o pid,comm | grep coreaudiod | grep -v grep | awk '{ print $1 }'`
sleep 1
echo `ps -A | grep coreaudiod | grep -v grep`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment