Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

[root@localhost ~]# history

1 poweroff
2 dnf install -y network-scripts
3 cd /usr/lib/systemd/system
4 pwd
5 ls
6 vim sshd.service
7 systemctl status sshd
8 kill -9 961
9 systemctl status sshd
10 systemctl -t help
11 man -k systemd
12 mandb
13 man -k systemd
14 man -k systemd | wc
15 man systemd.directives
16 systemctl cat sshd.service
17 man systemd.directives
18 man systemd.kill
19 dnf install httpd
20 systemctl status httpd
21 systemctl enable httpd
22 cd /etc/systemd/system/
23 ls
24 cd multi-user.target.wants/
25 ls
26 ls -l
27 cd
28 systemctl list-units -t target
29 systemctl list-dependencies
30 history
31 systemctl list-unit-files
32 systemctl list-unit-files -t socket
33 systemctl cat iscsid.socket
34 systemctl cat cups.socket
35 systemctl list-units
36 systemctl list-dependencies
37 cd /usr/lib/systemd/system
38 ls
39 cat sshd.service
40 vim crond.service
41 pwd
42 systemctl edit sshd.service
43 systemctl cat sshd.service
44 systemctl status sshd.service
45 export SYSTEMD_EDITOR=vim
46 systemctl edit sshd.service
47 cd
48 git clone https://github.com/sandervanvugt/systemd
49 cd systemd/
50 ls
51 ./countdown 12
52 systemctl show httpd
53 man systemd.directives
54 man org.freedesktop.systemd1
55 systemctl list-dependencies
56 systemctl get-default
57 systemctl cat graphical.target
58 pwd
59 cd /etc/systemd/system/
60 cd graphical.target.wants/
61 ls -l
62 systemctl cat upower.service
63 systemctl --version
64 systemctl list-dependencies
65 cd
66 systemctl isolate multi-user.target
67 systemctl list-dependencies
68 systemctl start reboot.target
69 systemctl list-units
70 systemctl start graphical.target
71 ls /var/log/journal/
72 cd systemd/
73 ls
74 vim sleep.service
75 systemctl enable --now sleep.service
76 pwd
77 cp sleep.service /etc/systemd/system/
78 systemctl enable --now sleep.service
79 systemctl status sleep.service
80 man -k systemd | grep journal
81 systemd-run sleep 3600
82 systemctl cat run-r87da59c1d2df4921b7578529061063d6.service
83 history | grep clone
84 pwd
85 ./countdown 13
86 pwd
87 ls
88 cat dynamicuser.service
89 vim dynamicuser.service
90 cp dynamicuser.service /etc/systemd/system
91 systemctl start dynamicuser.service
92 ps aux | grep sleep
93 ls -l /var/lib/private/
94 ls -l /var/lib/private/dynamic/
95 systemd-analyze security sshd.service
96 systemd-analyze blame
97 cd
98 vim /etc/fstab
99 cd /run/systemd/generator/
100 ls
101 vim boot.mount
102 blkid
103 cd /dev/disk
104 ls -l
105 cd by-uuid/
106 ls -l
107 pwd
108 cd
109 cd systemd/
110 ls
111 cp nfsda* /etc/systemd/system
112 cd /etc/systemd/system/
113 cat nfsdata.mount
114 dnf install -y nfs-utils
115 cat nfsdata.mount
116 vim /etc/exports
117 systemctl enable --now nfs-server
118 showmount -e localhost
119 cat nfsdata.mount
120 cat nfsdata.automount
121 systemctl enable nfsdata.automount
122 cd /
123 ls
124 cd nfsdata
125 mkdir /nfsdata
126 ls /nfsdata
127 systemctl restart nfsdata.automount
128 systemctl status nfsdata.automount
129 cd /nfsdata
130 ls
131 mount | takil -5
132 mount | tail -5
133 cd /
134 systemctl status nfsdata.mount
135 systemctl list-units -t timer
136 systemctl list-unit-files -t timer
137 systemctl enable logrotate.timer
138 systemctl list-unit-files | greo logrotate
139 systemctl list-unit-files | grep logrotate
140 systemctl cat logrotate.timer
141 cd /etc/logrotate.d/
142 ls
143 cd ..
144 cd cron.d
145 ls
146 cd ..
147 ls -l cron*
148 systemctl cat fstrim.timer
149 systemctl cat fstrim.service
150 systemctl status *timer
151 systemctl list-unit-files | grep sshd*
152 systemctl stop sshd.service
153 systemctl cat sshd.socket
154 systemctl enable sshd.socket
155 systemctl status sshd.socket
156 systemctl start sshd.socket
157 systemctl status sshd.service
158 ssh localhost
159 ps aux | grep sshd
160 systemctl list-unit-files -t path
161 systemctl cat cups.path
162 cd
163 systemd/countdown 12
164 cd systemd/
165 ls
166 cp monitor.timer /etc/systemd/system
167 systemctl start monitor.timer
168 systemctl list-unit-files monitor*
169 find / -name "monitor.service"
170 systemctl list-unit-files -t scope
171 ls
172 cp stress* /etc/systemd/system
173 systemctl cat stress1.service
174 systemctl cat stress2.service
175 systemctl start stress1
176 systemctl start stress2
177 top
178 cd /sys
179 ls
180 cd devices/
181 ls
182 cd cpu/
183 ls
184 cd ../../bus/
185 ls
186 cd cpu/
187 ls
188 cd device
189 cd devices
190 ls
191 ls *
192 cat */online
193 echo 0 > cpu1/online
194 cat */online
195 pwd
196 top
197 cd
198 history
199 systemctl set-property system.slice CPUShares=8192
200 systemctl cat system.slice
201 top
202 systemctl show sshd.service
203 systemctl set-property --runtime sshd.service MemoryMax=1M
204 systemctl status sshd
205 systemctl stop sshd.socket
206 systemctl daemon-reload
207 systemctl start sshd.service
208 systemctl status sshd.service
209 systemctl start httpd.service
210 systemctl status httpd.service
211 systemctl set-property --runtime httpd.service MemoryMax=1M
212 systemctl status httpd.service
213 systemd-cgls
214 systemd-cgtop
215 ssh student@192.168.29.162
216 ps aux | grep -i net
217 systemctl show sshd.service
218 history

You might also like