Shell Script
-
How to Edit the Windows Hosts File.
Step 1 – Open Notepad as an Administrator Step 2 – Locating and Opening the Hosts File Step 3 –… Read More
-
How to SSH into WSL Ubuntu
Ensure that Windows Subsystem for Linux (WSL) is installed on your Windows machine. Inside UBUNTU enable ssh server or daemon… Read More
-
How to Copy Files To Your Linux Machine (Securely!)
Using the scp command (for remote machines): scp stands for secure copy and uses SSH for secure transfer. Syntax: Step… 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
