simX
Unofficial Mac Genius
I was wondering:
Is there any way, via the command line, to permanently redirect certain URLs to other locations/IP addresses? In OS 9, you could accomplish this via a Hosts file, and then tell the TCP/IP preference pane where this file was.
I'm not sure how to do this in Mac OS X. Is there a command to do this in the Terminal?
For example, if I wanted to permanently redirect "www.microsoft.com" to "127.0.0.1" or something, how would I do that?
Is there any way, via the command line, to permanently redirect certain URLs to other locations/IP addresses? In OS 9, you could accomplish this via a Hosts file, and then tell the TCP/IP preference pane where this file was.
I'm not sure how to do this in Mac OS X. Is there a command to do this in the Terminal?
For example, if I wanted to permanently redirect "www.microsoft.com" to "127.0.0.1" or something, how would I do that?