| jnfuller.freeshell.org - The home page of Josh Fuller | |||||
|
Categories |
index / technology / unix / bsd / host-specific-proxy-cshrc.html Wed, 28 May 2008
setenv http_proxy using .cshrc when granted specific dhcp hostnames
We use DHCP assigned host addresses at work and I've recently switched my development laptop to FreeBSD after the Debian SSH security fiasco. I've been spoiled by bash and never really used csh very often but I'm finding that I really like the scripting syntax and way environments are set. One of the first things I've done is add a section to my .cshrc to set my http_proxy and HTTP_PROXY for our corporate firewall whenever I am on our network. The basic syntax is...
Now, whenever I login to our corporate network and spawn a shell session using BSD the script automajickally sets up my proxy for me. Nice! email: Josh Fuller | tag: /technology/unix/bsd | permanent link | Share on Facebook |
||||