Hi,
I'm using OS X Lion 10.7 and I want to edit my host file using the following terminal command:
"sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts"
I'm logged in as administrator and I enabled the root user.
Still after entering my password I get this error message:
"TextEdit[603:7907] PersistentUI: LSSharedFileListInsertItemURL() failed at inserting URL file://localhost/etc/hosts"
What am I doing wrong?
I'm using OS X Lion 10.7 and I want to edit my host file using the following terminal command:
"sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts"
I'm logged in as administrator and I enabled the root user.
Still after entering my password I get this error message:
"TextEdit[603:7907] PersistentUI: LSSharedFileListInsertItemURL() failed at inserting URL file://localhost/etc/hosts"
What am I doing wrong?