Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ###### UDEV DEMO 90 udevadm monitor
- 91 lsblk
- 92 git clone https://github.com/sandervanvugt/luth
- 93 cat /etc/os-release
- 94 cd /usr/lib/udev/rules.d/
- 95 ls
- 96 vim 78-sound-card.rules
- 97 cd
- 98 cd luth/
- 99 ls
- 100 cp 50-custom.rules /etc/udev/rules.d/
- 101 cd /etc/udev/rules.d/
- 102 ls
- 103 vim 50-custom.rules
- 104 ps aux | grep udev
- 105 systemctl restart systemd-udevd
- 106 ls -l /dev/usb
- 107 journalctl
- 108 pwd
- 109 udevadm info --query=all --name=/dev/sdb
- 110 history
- ##### REST OF THE COURSE[root@localhost luth]# history
- 1 history
- 2 modprobe softdog
- 3 #echo h >/proc/sysrq-trigger
- 4 #echo c >/proc/sysrq-trigger
- 5 history -w
- 6 history
- 7 modprobe softdog
- 8 #echo h >/proc/sysrq-trigger
- 9 #echo c >/proc/sysrq-trigger
- 10 history -w
- 11 uname -r
- 12 mount
- 13 mount | grep proc
- 14 cd /proc
- 15 ls
- 16 less cpuinfo
- 17 lscpu
- 18 ls
- 19 less meminfo
- 20 cd sys
- 21 ls
- 22 cd
- 23 yum install -y git
- 24 ip a
- 25 nmtui
- 26 ip a
- 27 yum install -y git
- 28 git clone https://github.com/sandervanvugt/luth
- 29 cd luth
- 30 ls
- 31 ./countdown 12
- 32 cd /sys
- 33 ls
- 34 cd bus
- 35 ls
- 36 cd cpu/
- 37 ls
- 38 cd devices/
- 39 ls
- 40 top
- 41 ls
- 42 ls cpu1/
- 43 cat cpu1/online
- 44 echo 0 > cpu1/online
- 45 cat cpu1/online
- 46 top
- 47 cd
- 48 history
- 49 cd /proc
- 50 echo h > /proc/sysrq-trigger
- 51 dmesg
- 52 echo f > /proc/sysrq-trigger
- 53 echo h > /proc/sysrq-trigger
- 54 dmeg
- 55 dmesg
- 56 echo f > /proc/sysrq-trigger
- 57 ps aux | grep gdm
- 58 cd /proc/
- 59 ls
- 60 cd 1477/
- 61 ls
- 62 less status
- 63 cat oom_score
- 64 cd ..
- 65 ls
- 66 cat 2097/cmdline 2097/oom_score
- 67 cd 1477
- 68 ls
- 69 echo 20 > oom_score_adj
- 70 cat oom_score
- 71 echo -50 > oom_score_adj
- 72 cat oom_score
- 73 history -w
- 74 ps aux | grep gdm
- 75 cd /proc/
- 76 ls
- 77 cd 1477/
- 78 ls
- 79 less status
- 80 cat oom_score
- 81 cd ..
- 82 ls
- 83 cat 2097/cmdline 2097/oom_score
- 84 cd 1477
- 85 ls
- 86 echo 20 > oom_score_adj
- 87 cat oom_score
- 88 echo -50 > oom_score_adj
- 89 cat oom_score
- 90 history -w
- 91 echo f > /proc/sysrq-trigger
- 92 systemctl show sshd.service
- 93 export EDITOR=/usr/bin/vim
- 94 systemctl edit sshd.service
- 95 cd /proc
- 96 cd sys
- 97 ls
- 98 cd vm
- 99 ls
- 100 cat dirty_expire_centisecs
- 101 echo $(( 43200 / 60 ))
- 102 echo $(( 43200 / 6000 ))
- 103 echo 43200 > /proc/sys/vm/dirty_expire_centisecs
- 104 cat swappiness
- 105 echo 60 > swappiness
- 106 history -w
- 107 vim /etc/sysctl.conf
- 108 systemctl status tuned
- 109 tuned-adm --help
- 110 tuned-adm list
- 111 tuned-adm profile powersave
- 112 cd /usr/lib/tuned/
- 113 ls
- 114 cd balanced/
- 115 ls
- 116 vim tuned.conf
- 117 cd ../network-throughput/
- 118 vim tuned.conf
- 119 mkdir /etc/tuned/sander
- 120 cp tuned.conf /etc/tuned/sander
- 121 vim /etc/tuned/sander/tuned.conf
- 122 tuned-adm list
- 123 tuned-adm profile sander
- 124 history
- 125 history -w
- 126 systemctl show sshd.service
- 127 export EDITOR=/usr/bin/vim
- 128 systemctl edit sshd.service
- 129 cd /proc
- 130 cd sys
- 131 ls
- 132 cd vm
- 133 ls
- 134 cat dirty_expire_centisecs
- 135 echo $(( 43200 / 60 ))
- 136 echo $(( 43200 / 6000 ))
- 137 echo 43200 > /proc/sys/vm/dirty_expire_centisecs
- 138 cat swappiness
- 139 echo 60 > swappiness
- 140 history -w
- 141 vim /etc/sysctl.conf
- 142 systemctl status tuned
- 143 tuned-adm --help
- 144 tuned-adm list
- 145 tuned-adm profile powersave
- 146 cd /usr/lib/tuned/
- 147 ls
- 148 cd balanced/
- 149 ls
- 150 vim tuned.conf
- 151 cd ../network-throughput/
- 152 vim tuned.conf
- 153 mkdir /etc/tuned/sander
- 154 cp tuned.conf /etc/tuned/sander
- 155 vim /etc/tuned/sander/tuned.conf
- 156 tuned-adm list
- 157 tuned-adm profile sander
- 158 history
- 159 history -w
- 160 reboot
- 161 cat /proc/sys/vm/swappiness
- 162 cd /proc/sys
- 163 ls
- 164 systemctl status tuned
- 165 cd
- 166 luth/countdown 12
- 167 lsblk
- 168 ls -l /dev/sda*
- 169 mount | grep dev
- 170 cd /proc
- 171 ls
- 172 less devices
- 173 lsmod | less
- 174 cd /dev
- 175 ls
- 176 mount | grep sda1
- 177 rm sda1
- 178 ls /boot
- 179 cd /
- 180 umount /boot
- 181 mount /dev/sda1 /boot
- 182 ls -l /dev/sda*
- 183 mknod --help
- 184 mknod /dev/sda1 b 8 1
- 185 ls -l /dev/sda*
- 186 chown root:disk /dev/sda1
- 187 chmod 660 /dev/sda1
- 188 mount /dev/sda1 /boot
- 189 ls -l
- 190 ps aux | grep dbus
- 191 history | got
- 192 history | grep git
- 193 cd luth
- 194 cd
- 195 cd luth/
- 196 ls
- 197 less dbus-commands.sh
- 198 vim dbus-commands.sh
- 199 busctl list
- 200 ./countdown 12
- 201 lsblk
- 202 dmsetup ls
- 203 dmsetup table /dev/cl/root
- 204 fdisk -l /dev/sda
- 205 fdisk /dev/sdb
- 206 dmsetup create hideme1 --table '0 99999' linear /dev/sdb 206848
- 207 dmsetup create hideme1 --table '0 99990' linear /dev/sdb 206848
- 208 fdisk -l /dev/sdb
- 209 dmsetup create hideme1 --table '0 99990 linear /dev/sdb 206848'
- 210 dmsetup ls
- 211 ls /dev/mapper/
- 212 mkfs.ex2 /dev/mapper/hideme1
- 213 mkfs.ext2 /dev/mapper/hideme1
- 214 mount /dev/mapper/hideme1 /mnt
- 215 cd /mnt
- 216 ls
- 217 cd /
- 218 mount
- 219 mount | grep ext
- 220 cp /etc/a* /mnt
- 221 cd /mnt
- 222 ls
- 223 ls -il
- 224 debugfs /dev/mapper/hideme
- 225 cd
- 226 mount | grep ext
- 227 debugfs /dev/mapper/hideme1
- 228 ln anaconda-ks.cfg whatever
- 229 ls -il
- 230 echo hello >> whatever
- 231 ls -il
- 232 cd luth/
- 233 ls
- 234 udevadm monitor
- 235 ssh sander@192.168.50.171 -p 2022
- 236 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement