Linux
-
Unrecognized option: -XXgcTrigger=10
This arguments are supported only JDK less than or equal to 6, https://docs.oracle.com/cd/E13150_01/jrockit_jvm/jrockit/jrdocs/refman/optionXX.html G1 collectors are introduced in Java 7,… Read More
-
How to access Tomcat Admin manager console from another remote machine ?
By Default, Tomcat Admin console can be accessed only in the machine(if necessary roles are set) it is running via:… Read More
-
Associative Array in Shell Script.
What is Associative Array ? Associative Array in shell script is to store key value pair. Prerequisites: Shell Bash version should be… Read More
-
A Shell Script for FTP
if [ “$#” -ne 5 ] then echo “Parameter strength is not supporting. “$@” is not matching for the required… Read More
-
How to create timestamp in linux ? For creating backup folder ?
Use this : date +%d-%m-%Y-%H%M%S Assign to a variable and use mkdir BK_TIME=date +%d-%m-%Y-%H%M%S mkdir BK_TIME Read More
-
How to Create a maven dependency via shell script ?
sudo vi dependencygen.sh LIB_PATH=”/…/…/WebContent/WEB-INF/lib” # Absolute path to this script, e.g. /home/user/bin/foo.sh SCRIPT=$(readlink -f “$0”) # Absolute path this… Read More
