elasticsearch version check ubuntu code example
Example: ubuntu install elasticsearch terminal
sudo -i service elasticsearch start
sudo -i service elasticsearch stop
sudo -i service elasticsearch start
sudo -i service elasticsearch stop