KSH: Import File With Variables and Functions

in Categories last updated September 20, 2011

How do I import variables and functions defined in lib.ksh script to another ksh script called setup.ksh under Linux / Unix like operating systems? How do I execute commands from a file in the current KSH shell?

Bash String Concatenation

in Categories , , last updated November 18, 2010

How do I join two strings under BASH? I have two strings stored in two different variables (_p=/delta and _u=aqua) and how do I join this and assign it to another variable in bash?

nginx: Send HTTP User Agent Requests To Specific Backend Server

in Categories last updated July 16, 2010

I‘ve tons of images, css and javascript hosted at backend server IP 192.168.1.5 and 192.168.1.6. How do I make sure nginx reverse proxy load balancer always send all http_user_agent requests coming from “Mozilla” to server 192.168.1.5 and MSIE to server 192.168.1.6 only?