The first time you try to download a file using the Terminal on Mac OS X, you’ll find out that there is no ‘wget’ or ‘fetch’ installed into the base system. Inquiring minds can find a solution after bashing their Tab key for a few near-random auto-complete guesses, but I’ll save you from that humiliating experience 🙂 Please welcome the ‘ftp’ tool. A fast visit to the man page for it will result in knowing that it’s not limited to the FTP only, and you can use it to download files over HTTP as well.
To clear the DNS cache in MacOS X Leopard, Snow Leopard and Lion, enter this in your Terminal:
To clear the DNS cache in MacOS X Tiger, use the following command instead: