-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash_history
More file actions
64 lines (64 loc) · 1.72 KB
/
Copy path.bash_history
File metadata and controls
64 lines (64 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
automate-backend-ctl show --svc=automate-backend-journalbeat
sudo su
ls
curl -XGET 'localhost:9200/_cluster/state?pretty'
curl -k -XGET 'localhost:9200/_cluster/state?pretty'
curl -k -XGET 'http://localhost:9200/_cluster/state?pretty'
curl -k -XGET 'https://localhost:9200/_cluster/state?pretty'
curl -k -XGET 'https://localhost:9200/_cluster/state?pretty' -u "admin:admin"
vim clusterstate
cp clusterstate clusterstats
vim clusterstats
pwd
ls
sh clusterstats
ls
cp clusterstate healty
vim healty
sh health
sh healty
curl -k -X GET -s https://localhost:9200/_cat/indices?pretty -u "admin:admin"
vim index.sh
ls
mv clusterstate clusterstate.sh
mv clusterstats clusterstats.sh
mv healty healty.sh
sh healty.sh
curl -k -X GET -s https://localhost:9200/_snapshot/_all?pretty -u "admin:admin"
vim snap.sh
curl -k -X GET https://localhost:9200/_snapshot/_cat/repositories -u admin:admin | jq
curl -k -X GET https://localhost:9200/_snapshot/_cat/repositories -u admin:admin
pwd
ls
git
git clone https://github.com/punitmundra/escheatsheet.git
git status
git init
git status
ls
git add *.sh
git status
git commit -m "files-stats"
git branch
git push origin master
git branch
git push origin master
git cranch
git branch
git branch -v
git branch -vv
git branch --v
git branch --vv
git branch --v
git branch -M main
git remote add origin https://github.com/punitmundra/escheatsheet.git
git push -u origin main
curl -XGET http://elasticsearch:9200/_cat/master?v
curl -k -XGET https://elasticsearch:9200/_cat/master?v
curl -k -XGET https://elasticsearch:9200/_cat/master?v -u "admin:admin"
curl -k -XGET https://localhost:9200/_cat/master?v -u "admin:admin"
vim getmaster.sh
curl -k -XGET https://localhost:9200/_cat/shards/ruan-test?v -u "admin:admin"
~
ls
exit