Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A shell script to edit text files as root in the GUI' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A shell script to edit text files as root in the GUI
Authored by: jmontana on Aug 31, '04 10:37:15AM
This hint assumes your editor (SubEthaEdit in this case) resides in the Applications folder within your home folder. If your editor is in the main Applications folder, you'll want to remove the leading ~ character so
sudo ~/Applications/SubEthaEdit.app/Contents/MacOS/SubEthaEdit "$*" &
becomes
sudo /Applications/SubEthaEdit.app/Contents/MacOS/SubEthaEdit "$*" &


[ Reply to This | # ]