Skip to content

Instantly share code, notes, and snippets.

@feliperazeek
Created July 26, 2011 21:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save feliperazeek/1108167 to your computer and use it in GitHub Desktop.
Save feliperazeek/1108167 to your computer and use it in GitHub Desktop.
ElasticSearch Aliases
export ES_HOME=/opt/elasticsearch
alias es-health="curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'"
alias es-f="cd $ES_HOME/bin; ./elasticsearch -f"
alias es-b="cd $ES_HOME/bin; ./elasticsearch"
alias es-conf="vi $ES_HOME/config/elasticsearch.yml"
alias es-logs="tail -f $ES_HOME/logs/LOGFILENAME.log"
alias es-kill="killall java" # of course if it's the only java process in the box
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment