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
problem with terminal
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="EvenStranger" data-source="post: 1283994" data-attributes="member: 181804"><p>Open Terminal, and instead of using TextEdit, try using "sudo pico /etc/hosts" to edit the file. Enter your password when prompted. You should see the text of your /etc/hosts file. Use the arrow keys to navigate, change what you need to change, and Control-X to close, Y to save, Return when prompted to change the filename.</p><p></p><p>I'm running Lion, but I think the host file should be the same for Snow Leopard, if I recall.</p><p></p><p>127.0.0.1 localhost</p><p>255.255.255.255 broadcasthost</p><p>::1 localhost </p><p>fe80::1%lo0 localhost</p></blockquote><p></p>
[QUOTE="EvenStranger, post: 1283994, member: 181804"] Open Terminal, and instead of using TextEdit, try using "sudo pico /etc/hosts" to edit the file. Enter your password when prompted. You should see the text of your /etc/hosts file. Use the arrow keys to navigate, change what you need to change, and Control-X to close, Y to save, Return when prompted to change the filename. I'm running Lion, but I think the host file should be the same for Snow Leopard, if I recall. 127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost fe80::1%lo0 localhost [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
problem with terminal
Top