JVM Class Loading

classloader Configuration options Jvm/jre
bootstrap META-INF/manifest.mf Class-Path of above jars JRE

System property: java.ext.dir. Default: $JAVA_HOME/jre/lib/ext

META-INF/manifest.mf Class-Path of above jars

how to split and join large files


best and simplest way to split large file and join files

1. split large file in chunk of 1GB

split -b 1000m large.zip

above command will create files

How to find empty directory and file


Find emtpy directory with -empty
# find . -type d -empty
Remove all empty directories 
# find . -type d -empty -exec rmdir {} \;
Find all empty files
# find . -type f -empty
Find all non empty files
# find . -type f -not -empty

citrix receiver error configuration manager cannot be initialized

Citrix Receiver is getting an error "configuration manager cannot be initialized" when installing , re-installing on windows. 
Follow these steps to cleanup the registery before installing citrix receiver:
1. Start->Run->regedit
2. Edit->Find the following text
3. Right click and delete every occurance of this register

Apple MAC change or switch java version

By default JAVA is installed on mac at /System/Library/Java/JavaVirtualMachines
1. export JAVA_HOME and udpate PATH


$ export JAVA_HOME=$(/usr/libexec/java_home -v 1.7) ; export PATH=$JAVA_HOME/bin:$PATH


2. Check Java version from commandline



$ java -version

java version "1.7.0_17"

Java(TM) SE Runtime Environment (build 1.7.0_17-b02)

openssh ssh public and private keys setup and permission

In general one unix node can access another node, this can be configured using a common unix account on all the nodes with same username, password could be different on each machine, for security we prefer to keep access at user level on each node. Generally we provide sudo access for this user to higher level access on machines.

Python HTTP Basic Authentication Program

Python  HTTP Basic Authentication Program



New Line Characters at end of line

awk '{sub("$","\r\n"); printf("

Pattern Matching metacharacter Definitions

Pattern Matching metacharacter Definitions
Char. Definition
\ Use before any of the following characters to escape or null the meaning or it. \* \. \$ \+ \[ \]
^ Start matching at this point
$ End point of the match


Subscribe to DograWorld on Web RSS

Who's new

  • s10
  • CIIUifBwwC

Who's online

There are currently 0 users online.