-
Notifications
You must be signed in to change notification settings - Fork 0
/
.bash_history
136 lines (136 loc) · 2.17 KB
/
.bash_history
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
sudo su -
exit
sudo su -
whoami
vi AmazonMonitoringTracker.sh
aws --version
aws configuration
sudo apt install awscli
aws --version
aws configure
aws --version
aws
ls
vi AmazonMonitoringTracker.sh
./AmazonMonitoringTracker.sh
chmod 777 AmazonMonitoringTracker.sh
./AmazonMonitoringTracker.sh
aws --verion
aws --version
aws ec2 describe-instances
aws s3 ls
export AWS_DEFAULT_REGION=us-east-1
aws s3 ls
history | grep ec2
aws ec2 describe-instances
export AWS_DEFAULT_OUTPUT=Json
aws ec2 describe-instances
sed 's/JSON/json/g' -i ~/.aws/config
aws ec2 describe-instances
apt-get install nginx
sudo apt-get install nginx
service nginx status
ifconfig
ls
df -hT
cat AmazonMonitoringTracker.sh
vi AmazonMonitoringTracker.sh
./AmazonMonitoringTracker.sh
aws -vv
aws configure
aws version
aws --version
vi AmazonMonitoringTracker.sh
cat AmazonMonitoringTracker.sh
ls -lrt
./AmazonMonitoringTracker.sh
bash
vi AmazonMonitoringTracker.sh
./AmazonMonitoringTracker.sh
aws configure
aws --version
./AmazonMonitoringTracker.sh
cat AmazonMonitoringTracker.sh
ifconfig
sudo apt install net-tools
ipconfig
ifconfig
./AmazonMonitoringTracker.sh
aws ec2 discribe-instances
aws ec2 describe-instances
aws s3 ls
export AWS_DEFAULT_REGION=us-east-1
aws s3 ls
aws ec2 describe-instances
sed 's/JSON/json/g' -i ~/.aws/config
apt-get install nginx
sudo apt-get install nginx
service nginx status
ifconfig
cat /etc/host
cat /etc/hosts
hostname
history
cd /etc/nginx/
ls
cat nginx.conf
more nginx.conf
yum install git
sudo yum install git
sudo apt-get install git
git --version
git init
cd /home/ubuntu/
ls -s
ls -a
cd .git/
ls
git init
cd ..
git init
pwd
cd .git/
ls
mkdir testfile
cd testfile/
git init
ls -ls
ls -la
cd ..
ls -l
ls -la
git --version
sudo apt-get git upgrade
cd
sudo apt-get git upgrade
sudo apt-get git* upgrade
sudo apt-get upgrade git
git --version
git init
man git
git-init
git -init
sudo git init
git status
cd /home/ubuntu/.git/
ls
cd testfile/
ls
ls -la
cd .git/
ls
free -m
git --version
sudo apt-get upgrade git
cat /etc/os-release
yum upgrade
sud =o yum upgrade
sudo yum upgrade
sudo apt-get update
sudo apt-get upgrade
sudo do-release-upgrade
uptime
cat /etc/os-release
git --version
git init
sudo git init