|
|
better way to launch TextEdit from the terminal
sudo open -a TextEdit
better way to launch TextEdit from the terminal
No. "sudo open" will launch application as standard user, not as root.
better way to launch TextEdit from the terminal
Actually, no - oddly enough, "sudo" will still launch the app as your standard interactive user, not as root.
A few workarounds:
better way to launch TextEdit from the terminal
It doesn't seem terribly odd when you think about it. Sudo performs the command following it with escalated privileges, therefore what's getting run as sudo is the open command. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.19 seconds |
|