Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@localhost ~]# history
- 1 ps aux | less
- 2 systemctl list-units | less
- 3 systemctl -t help
- 4 systemctl list-dependencies
- 5 history
- 6 systemctl list-dependencies
- 7 cd /usr/lib/systemd/system
- 8 ls
- 9 vim sshd.service
- 10 reset
- 11 man systemd.service
- 12 vim sshd.service
- 13 ps aux | grep sshd
- 14 systemctl start sshd
- 15 systemctl status sshd
- 16 kill -9 31286
- 17 systemctl status sshd
- 18 pwd
- 19 cd /etc/systemd/system/
- 20 ls
- 21 cd
- 22 yum install -y git
- 23 git clone https://github.com/sandervanvugt/systemd
- 24 ls
- 25 cd systemd/
- 26 ls
- 27 cp "*.*" /etc/systemd/system
- 28 cp *.* /etc/systemd/system
- 29 cd /etc/systemd/system/
- 30 ls
- 31 systemctl status sleep.services
- 32 systemctl status sleep.service
- 33 cd /usr/lib/firewalld/services/
- 34 ls
- 35 cd /etc/firewalld/
- 36 ls
- 37 cd services/
- 38 ls
- 39 cd /run/systemd/system/
- 40 ls
- 41 cd ..
- 42 ls
- 43 pwd
- 44 cd generator
- 45 ls
- 46 vim /etc/fstab
- 47 ls
- 48 vim boot.mount
- 49 vim -.mount
- 50 vim '-.mount'
- 51 vim -- -.mount
- 52 history
- 53 systemctl cat sshd.service
- 54 grep CRYPTO /etc/crypto-policies/back-ends/opensshserver.config
- 55 vim /etc/sysconfig/sshd
- 56 ps aux | grep syslo
- 57 systemctl status rsyslog
- 58 cd /usr/lib/systemd/system
- 59 ls rsys*
- 60 dnf search rsyslog
- 61 journalctl
- 62 pwd
- 63 cd /etc/systemd/
- 64 ls
- 65 vim journald.conf
- 66 mkdir /var/log/journal
- 67 cd /var/log/journal/
- 68 ls
- 69 systemctl cat sshd.service
- 70 man -k systemd
- 71 man -k systemd | wc
- 72 man 7 systemd.directives
- 73 systemctl show sshd.service
- 74 man systemd.path
- 75 man systemd.exec
- 76 cd
- 77 cd systemd/
- 78 ./countdown 12
- 79 history
- 80 systemctl edit sshd.service
- 81 export SYSTEMD_EDITOR=vim
- 82 systemctl edit sshd.service
- 83 systemctl show sshd.service
- 84 systemctl cat sshd.service
- 85 systemctl edit sshd.service
- 86 systemctl cat sshd.service
- 87 systemctl restart sshd
- 88 systemctl status sshd
- 89 pwd
- 90 systemctl status sshd.service
- 91 systemctl enable sshd.service
- 92 systemctl edit --full sshd
- 93 systemctl cat multi-user.target
- 94 cd /etc/systemd/system/
- 95 ls
- 96 cd multi-user.target.wants/
- 97 ls
- 98 \ls -l
- 99 cd
- 100 dnf install network-scripts
- 101 rpm ql network-scripts
- 102 rpm -ql network-scripts
- 103 systemctl disable --now NetworkManager
- 104 systemctl mask NetworkManager
- 105 systemctl enable --now network
- 106 cd /etc/systemd/system/
- 107 ls -l | grep net
- 108 ls -lrt
- 109 cd multi-user.target.wants/
- 110 ls -lrt
- 111 cd /etc/rc.d/init.d/
- 112 ls
- 113 vim network
- 114 systemctl status network
- 115 systemctl start network
- 116 systemctl status network
- 117 pwd
- 118 cd /etc/systemd/system/
- 119 ls
- 120 cd /usr/lib/systemd/system
- 121 ls runlevel5.target
- 122 ls -l runlevel5.target
- 123 ls -l run*target
- 124 systemctl start reboot.target
- 125 vim /etc/default/grub
- 126 reboot
- 127 vim /etc/default/grub
- 128 grub2-editenv
- 129 cd /usr/lib/systemd/system
- 130 ls *target
- 131 systemctl list-unit-files -t target
- 132 grep isolate *target
- 133 grep -i isolate *target
- 134 systemctl list-units | wc
- 135 systemctl isolate emergency.target
- 136 reboot
- 137 udevadm monitor
- 138 dnf install httpd vsftpd
- 139 ip a
- 140 ifup ens33
- 141 systemctl disable --now network
- 142 systemctl unmask NetworkManager
- 143 systemctl enable --now NetworkManager
- 144 ip a
- 145 dnf install httpd vsftpd
- 146 systemctl cat httpd.service
- 147 systemctl edit httpd.service
- 148 systemctl cat httpd.service
- 149 ps aux | grep vsftp
- 150 systemctl enable --now httpd
- 151 ps aux | grep vsftp
- 152 systemctl cat httpd.service
- 153 cd systemd/
- 154 ls
- 155 vim sleep.service
- 156 systemctl enable --now sleep.service
- 157 systemctl start sleep.service
- 158 systemctl status sleep.service
- 159 systemctl cat stress1.service
- 160 cd
- 161 systemd-run sleep 3600
- 162 journalctl -u run-r13fec86409e849e994d75c4391594c63.service
- 163 systemctl-analyze --help
- 164 systemd-analyze --help
- 165 systemd-analyze security
- 166 systemd-analyze blame
- 167 dnf install -y nfs-utils
- 168 vim /etc/exports
- 169 systemctl enable --now nfs-server
- 170 showmount -e localhost
- 171 systemctl cat nfsdata.mount
- 172 mkdir /nfsdata
- 173 mount
- 174 mount | grep '^/'
- 175 systemctl start nfsdata.mount
- 176 mount | grep '^/'
- 177 mount
- 178 systemctl stop nfsdata.mount
- 179 systemctl cat nfsdata.automount
- 180 systemctl enable --now nfsdata.automount
- 181 mount
- 182 cd /nfsdata
- 183 mount
- 184 cd ..
- 185 sleep 10
- 186 mount
- 187 systemctl cat nfsdata.automount
- 188 systemctl cat fstrim.timer
- 189 systemctl cat fstrim.service
- 190 systemctl cat fstrim.timer
- 191 man systemd.timer
- 192 systemctl cat fstrim.timer
- 193 systemctl cat monitor.timer
- 194 systemctl enable --now monitor.timer
- 195 journalctl -S today -f -u monitor.service
- 196 systemctl list-unit-files -t timer
- 197 cd /etc/cron.d
- 198 ls
- 199 cd ../cron.daily/
- 200 ls
- 201 cd ../cron.weekly/
- 202 ls
- 203 cd
- 204 systemctl status *timer
- 205 yum install tftp-server
- 206 systemctl cat tftp.service
- 207 systemctl cat tftp.socket
- 208 systemctl enable --now tftp.socket
- 209 cd systemd/
- 210 ./countdown 12
- 211 rpm -qa | grep container
- 212 machinectl pull-raw --verify=no https://download.fedoraproject.org/pub/fedora/linux/releases/31/Cloud/x86_64/images/Fedora-Cloud-Base-31-1.9.x86_64.raw.xz FC
- 213 machinectl list-images
- 214 systemd-nspawn -M FC
- 215 dnf -y --releasever=31 --installroot=/var/lib/machines/f31 --disablerepo='*' --enablerepo=fedora --enablerepo=updates install systemd passwd dnf fedora-release vim-minimal glibc-minimal-langpack
- 216 cd /var/lib/machines/
- 217 ls
- 218 ls -l
- 219 cd f31
- 220 ls
- 221 du -hs
- 222 systemd-nspawn -a f31 passwd root
- 223 cd ..
- 224 systemd-nspawn -a f31 passwd root
- 225 cd f31
- 226 systemd-nspawn -bD /var/lib/machines/f31
- 227 machinectl list
- 228 machinectl list -a
- 229 machinectl list-images
- 230 machinectl status f31
- 231 systemctl disable --now NetworkManager
- 232 systemctl enable systemd-networkd
- 233 systemctl enable systemd-resolved
- 234 cd
- 235 rm /etc/resolv.conf
- 236 ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
- 237 mkdir /etc/systemd/network
- 238 cd /etc/systemd/network/
- 239 ls
- 240 vim 10-static-ens33.network
- 241 systemctl start systemd-networkd
- 242 systemctl start systemd-resolved
- 243 systemctl status systemd-networkd
- 244 ip a
- 245 ping nu.nl
- 246 cat /etc/resolv.conf
- 247 vim 10-static-ens33.network
- 248 cat /etc/resolv.conf
- 249 systemctl restart systemd-resolved
- 250 cat /etc/resolv.conf
- 251 man systemd-resolved
- 252 cd
- 253 systemctl cat stress1.services
- 254 systemctl cat stress1.service
- 255 systemctl cat stress2.service
- 256 systemctl start stress1
- 257 systemctl start stress2
- 258 lscpu
- 259 cd /sys/devices/cpu/
- 260 ls
- 261 cd ../..
- 262 ls
- 263 cd bus
- 264 ls
- 265 cd cpu/
- 266 ls
- 267 cd devices/
- 268 pwd
- 269 ls
- 270 cat cpu1/online
- 271 echo 0 > cpu1/online
- 272 lscpu | less
- 273 top
- 274 systemctl show system.slice
- 275 systemctl set-property system.slice CPUShares=8192
- 276 top
- 277 systemd-run -p CPUQuota=1% dd if=/dev/zero of=/dev/null &
- 278 top
- 279 systemctl show stress1.service
- 280 top
- 281 ps aux | grep httpd
- 282 systemctl set-property --runtime httpd MemoryLimit=1m
- 283 systemctl set-property --runtime httpd MemoryLimit=1M
- 284 ps aux | grep httpd
- 285 systemctl status httpd.service
- 286 systemd-cgtop
- 287 systemd-cgls
- 288 loginctl
- 289 loginctl --help
- 290 loginctl kill-session 1
- 291 loginctl list-sessions
- 292 loginctl kill-session 2
- 293 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement