EDITAR: supongo que en realidad significa Mac OS X, y no Mac OS ...
Puede usar la herramienta de línea de comandos 'networksetup'
Hay una página de manual para ello - networksetup (8)
man networksetup
Encontrará muchas opciones para la configuración del proxy allí:
[-setftpproxy networkservice domain portnumber authenticated username password]
[-setftpproxystate networkservice on | off] [-getwebproxy networkservice]
[-setwebproxy networkservice domain portnumber authenticated username password]
[-setwebproxystate networkservice on | off] [-getsecurewebproxy networkservice]
[-setsecurewebproxy networkservice domain portnumber authenticated username password]
[-setsecurewebproxystate networkservice on | off] [-getstreamingproxy networkservice]
[-setstreamingproxy networkservice domain portnumber authenticated username password]
[-setstreamingproxystate networkservice on | off] [-getgopherproxy networkservice]
[-setgopherproxy networkservice domain portnumber authenticated username password]
[-setgopherproxystate networkservice on | off] [-getsocksfirewallproxy networkservice]
[-setsocksfirewallproxy networkservice domain portnumber authenticated username password]
[-setsocksfirewallproxystate networkservice on | off] [-getproxybypassdomains networkservice]
[-setproxybypassdomains networkservice domain1 [domain2] [...]] [-getpassiveftp networkservice]
Alternativamente, si solo necesita configurar el proxy para algo como wget o curl, puede usar las variables env universales 'http_proxy' y 'ftp_proxy'.
Por ejemplo, en bash:
export http_proxy=http://my.proxy.com:1234
Donde '1234' es el número de puerto.
salud
Carolina del Sur.
networksetup
es justo lo que quiero