Skip to content

Instantly share code, notes, and snippets.

@pir8g33k
pir8g33k / elk.sh
Created October 12, 2022 10:02 — forked from abhishektomar/elk.sh
Bash Script to Install Elastic Search, Logstash and Kibana
#!/bin/bash
# Checking whether user has enough permission to run this script
sudo -n true
if [ $? -ne 0 ]
then
echo "This script requires user to have passwordless sudo access"
exit
fi