how to concatenate two strings in shell script in 3.13.0-34-generic kernel
- by saikrishna
I want to concatenate two strings for the shell file im getting error when i have created the shell file in following manner could you please suggest how to get it set
export APP_HOME="/home/sfptladmin/ArchivalDaemon"
export JAVA_HOME="/usr/lib/jvm/java-7-oracle/jre"
export LIBPATH="/home/sfptladmin/ArchivalDaemon/lib"
export CPATH=$APP_HOME/conf
export CPATH=$CPATH:$LIBPATH/commons-beanutils-core-1.7.0.jar
export CPATH=$CPATH:$LIBPATH/commons-collections-3.2.jar
export CPATH=$CPATH:$LIBPATH/commons-io-1.4.jar
export CPATH=$CPATH:$LIBPATH/commons-lang.jar
export CPATH=$CPATH:$LIBPATH/commons-net.jar
export CPATH=$CPATH:$LIBPATH/dataloader-27.0.1-uber.jar
export CPATH=$CPATH:$LIBPATH/dom4j-1.6.1.jar
export CPATH=$CPATH:$LIBPATH/log4j-1.2.15.jar
export CPATH=$CPATH:$LIBPATH/opencsv2.3.jar
export CPATH=$CPATH:$LIBPATH/poi-3.7.jar
export CPATH=$CPATH:$LIBPATH/poi-ooxml-3.7.jar
export CPATH=$CPATH:$LIBPATH/poi-ooxml-schemas-3.7.jar
export CPATH=$CPATH:$LIBPATH/wsc-23-min.jar
export CPATH=$CPATH:$LIBPATH/xmlbeans-2.5.0.jar
export CPATH=$CPATH:$LIBPATH/archival-daemon-main.jar
export CPATH=$CPATH:$LIBPATH/sbmclasspath.jar
export CPATH=$CPATH
java -Xms256m -Xmx512m -classpath $CPATH "-Dfile.encoding=UTF-8" com.genpact.proflow.daemon.archival.manager.ArchivalManager
echo $CPATH