That example command assumes your shell is in the elasticsearch home directory. If you installed via tar or zip, this is where you extracted the archive. If you installed with apt this would be /usr/share/elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.