List of Important Commands

List of Important Commands

Okay, so it’s not the “complete” list, but it’s definitely a list of important CLI commands.

Generate Linux Commands

ln -s <file-to-link> <link-name>

Docker Commands

docker exec -ti <container-id> bash
docker run -P –privilege –net=host -td <image-name:version>
docker commit [-m “message”] <container-id> <image-name:version>
docker cp container-id:/<source-path> <target-path>
docker cp <source-path> container-id:/<target-path>

docker run –privileged -p 80:80 -p 443:443 –td <image-name:version>
docker run –privileged -p 9200:9200 -p 5601:5601 -p 1433:1433 –td <image-name:version>

Elastic Search Curl commands

List elastic search indeces

curl ‘localhost:9200/_cat/indices?v’ | sort -nk3

Delete elastic search indeces

curl -XDELETE localhost:9200/_all
curl -XDELETE localhost:9200/

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

Visit Us On LinkedinVisit Us On FacebookVisit Us On TwitterVisit Us On YoutubeCheck Our FeedVisit Us On Instagram