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


Click here to return to the '2 other advantages' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
2 other advantages
Authored by: saywake on Oct 09, '01 02:21:40PM
1) If you su to root, then you can open apps and docs AS root.
2) If you use "open -e filename" then the file is opened in TextEdit automatically.

Example: to quickly modify httpd.conf (requires root access), just do this:

su
open -e httpd.conf

[ Reply to This | # ]
2 other advantages - window error
Authored by: baba on Oct 09, '01 08:57:15PM

But how to deal with problem of the app already being open? I always get the following error when using 'open -a'
when the application is open:

kCGSErrorNoneAvailable : CGSReorderWindows: error retrieving current process

Also, has anyone figured out how to change the default application called with 'open -e' ?



[ Reply to This | # ]