Posts tagged as:

apple

Hosts File on Mac

by Ron on August 15, 2008

I can never remember the path to the hosts file on my MacBook Pro. So, here it is:
sudo nano /private/etc/hosts

{ 0 comments }

Use cURL instead of wget on Mac OS X

by Ron on July 2, 2008

I use wget all the time on my Linux machines, but was surprised to find it missing on my MacBook Pro. Since Mac OS is based on BSD, it uses cURL instead. Here’s a good way to scrape files from a remote server.
curl -O http://www.gutenberg.org/files/21171/mp3/21171-[01-24].mp3
Man page is available at: http://curl.haxx.se/docs/manpage.html

{ 3 comments }