Skip to content

Instantly share code, notes, and snippets.

@remi
Created February 2, 2010 15:50
Show Gist options
  • Save remi/292760 to your computer and use it in GitHub Desktop.
Save remi/292760 to your computer and use it in GitHub Desktop.
#!/bin/sh
# run this file with sudo and TextEdit will be open as if it was open by root
exec /Applications/TextEdit.app/Contents/MacOS/TextEdit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment