Skip to content

Instantly share code, notes, and snippets.

@sungitly
Created March 26, 2015 14:02
Show Gist options
  • Save sungitly/251794ccd5ca3cbdacd3 to your computer and use it in GitHub Desktop.
Save sungitly/251794ccd5ca3cbdacd3 to your computer and use it in GitHub Desktop.
Shell Script To Restart Finder
#!/bin/bash
kill -sighup `ps -e | grep Finder.app | grep -v grep | cut -c1-6`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment