| OS X - Operating System General OS operation information and support |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
|
Guest
Posts: n/a
|
Can anyone tell me how to edit the host file in OSX? I need to add some entries and if I try using textedit it wont allow me to save it. I have not got a clue about UNIX (although I wish I did) so can someone explain ho they have managed to edit the host file in OSX?? Is there a way to do without using UNIX Command?
Cheers Stu |
| QUOTE Thanks | |
![]() Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,905
![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
|
If you have BBEdit you can do it, but since usually only us developers use BBEdit I am going to assume that you do not have it.. What I can do is walk you through the process.
1. Open up your terminal application 2. Type in "sudo pico /etc/hosts" 3. Type in your administration password 4. Use your arrow keys to maneuver the cursor and type in whatever entries you are wanting to put in your hosts file 5. Once you are done, hit Control-o 6. and then hit Control-x You are done! Then you can restart your computer and that should take care of whatever you were doing
---> Join the Mac-Forums Folding team: use 37954 as your team number.View Mac-Forums Folding team statistics (More Info) Don't forget to use the User Reputation System |
| QUOTE Thanks | |
|
Inactive Staff
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
|
Quote:
|
|
| QUOTE Thanks | ||
![]() Member Since: Jun 11, 2003
Location: Mount Vernon, WA
Posts: 4,905
![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: MacBook Pro 2.6 GHz Core 2 Duo 4GB RAM OS 10.5.2
|
I used to be a dos man.. and I've used vi, but it's just too much of a pain in the butt!
---> Join the Mac-Forums Folding team: use 37954 as your team number.View Mac-Forums Folding team statistics (More Info) Don't forget to use the User Reputation System |
| QUOTE Thanks | |
|
Guest
Posts: n/a
|
I was thinking the same thing last night on my Linux box
. nano- now THERE's a REAL (UNIX) man (geek)'s editor .I think it'll show what an expert I am to mention that my favorite feature of Vi is that by default it only scrolls one line at a time. Vim also remembers where you left off on a document for when you next open it. Maybe my liking for these tyes of things can help to explain why I like OS X
|
| QUOTE Thanks | |
|
Inactive Staff
Member Since: Dec 24, 2002
Location: Los Angeles, California
Posts: 12,591
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Mac Specs: 2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
|
|
| QUOTE Thanks | |
![]() Member Since: Oct 27, 2002
Location: Vermont
Posts: 1,345
![]() Mac Specs: 17" iMac G4 800MHz 1GB RAM
|
I used to be a pico man, which is basically nano. Now I use vi exclusively. I like vi mainly because it is also your command line editor. So you just learn vi once, and it functions in 2 places
![]() Totally off topic, BTW. |
| QUOTE Thanks | |
|
Guest
Posts: n/a
|
Speaking of off topic, I think you guys helped this other guy already, and now we're all just standing around chit-chatting about ramblings on that happen after the deal we were here for. I think this is the part where we all usually kinda get quiet, someone says, "yeah...", we all start looking around in odd directions, and then one person says, "well, I guess that's it. Later!" and we all disperse.
*pause* ..... Yeaaaah.... welp, I guess that's it. I'll be in my office if you need me
|
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| How can i convert a non quick time file??? | SuperShaun | Archival Forum | 1 | 10-07-2003 03:35 PM |
| File Permissions in OSX | fosdyke | Apple Desktops | 0 | 09-24-2003 09:01 AM |
All times are GMT -4. The time now is 03:55 AM.
Powered by vBulletin