Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Host file modification
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dysfunction" data-source="post: 690235" data-attributes="member: 51052"><p>You do not have to enable root. sudo su - and you will be root. You also do not need to make all items visable in Finder, ls -a will do the same in terminal. Nano and vi work quite well for editing. Lets not make it more complicated than need be. Actually, I'd sudo su - then</p><p>echo "xxx.xxx.xxx.xxx hostname" >> etc/hosts</p></blockquote><p></p>
[QUOTE="Dysfunction, post: 690235, member: 51052"] You do not have to enable root. sudo su - and you will be root. You also do not need to make all items visable in Finder, ls -a will do the same in terminal. Nano and vi work quite well for editing. Lets not make it more complicated than need be. Actually, I'd sudo su - then echo "xxx.xxx.xxx.xxx hostname" >> etc/hosts [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Host file modification
Top