alias

KSH: Import File With Variables and Functions

by Vivek Gite on September 20, 2011 · 0 comments

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?

{ 0 comments }

Lighttpd Configure Subdomain

by Vivek Gite on March 18, 2011 · 0 comments

I‘ve main domain configured at http://example.com and I’d like to use http://support.example.com with different files. How do I add subdomain support with Lighttpd web server under UNIX or Linux operating systems?

{ 0 comments }

Linux / UNIX: DNS Lookup Command

by Vivek Gite on November 8, 2010 · 5 comments

How do I perform dns lookup under Linux or UNIX or OS X operating systems without using 3rd party web sites for troubleshooting DNS usage?

{ 5 comments }

I want find out if a command exists on UNIX from a bash shell script. If command does not exists, then I would like to display an error message on screen. How do I find out if a command exists on Posix system or not?

{ 3 comments }

Bash Shell Temporarily Disable an Alias

by Vivek Gite on March 13, 2009 · 16 comments

I‘ve couple of shell aliases defined in ~/.bashrc file. How do I temporarily remove (disable) a shell alias and call the core command directly without using unalias command?

{ 16 comments }

Can one Linux / BSD system respond to multiple IP address on a single Ethernet interface? I need to run multiple web sites and mod_ssl with a single server. How do I configure my box for multiple IP address?

{ 1 comment }