Shell
declare -a tables=('click_user_sessions' 'user_ip_activity');
for i in "${tables[@]}"
do
table_name=$i
TABLE_NAME=`echo $table_name | tr '[a-z]' '[A-Z]'`
## Cleanup existing data
echo -e "\t-> Remove any existing Elastic search config"
curl -s -X "DELETE" "http://$ELASTIC_HOST:9200/""$table_name" >>/tmp/log.txt 2>&1
done
history
Environment variables
Windows (PowerShell)
Windows (cmd.exe)
Unix systems
Java Dev Environment
PGP
/etc/profile
Install Ansible terraform
sed


.sh examples
Powershell
Last updated