Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 visudo
- 2 id student
- 3 usermod -aG wheel student
- 4 id student
- 5 exit
- 6 journalctl
- 7 exit
- 8 cd /etc
- 9 ls
- 10 cd /proc
- 11 ls
- 12 touch hello
- 13 less cpuinfo
- 14 cd sys
- 15 ls
- 16 cd net
- 17 ls
- 18 cd ipv6
- 19 ls
- 20 cd cond
- 21 ls
- 22 cd conf
- 23 ls
- 24 cd all
- 25 ls
- 26 ip a
- 27 echo 1 > disable_ipv6
- 28 ip a
- 29 pwd
- 30 cd /dev
- 31 ls
- 32 cd
- 33 echo 1 > muyfule
- 34 cat muyfule
- 35 cd /var
- 36 ls
- 37 cd log
- 38 ls
- 39 less /etc/passwd
- 40 cd /dev
- 41 ls
- 42 ls -l
- 43 cd
- 44 man hier
- 45 countdown 13
- 46 cd /
- 47 ls -l
- 48 cd /bin
- 49 ls
- 50 pwd
- 51 ls | wc
- 52 cd /usr/bin
- 53 ls | wc
- 54 cd
- 55 ls -il /etc/hosts
- 56 cd /boot
- 57 mount | grep ext4
- 58 ls -il
- 59 debugfs /boot
- 60 debugfs /dev/sda1
- 61 cd
- 62 ls -il /etc/hosts
- 63 ln /etc/hosts myhosts
- 64 ls -il /etc/hosts myhosts
- 65 echo hello >> /etc/hosts
- 66 ls -il /etc/hosts myhosts
- 67 ln -s /etc/hosts myshosts
- 68 ls -il /etc/hosts myhosts myshosts
- 69 cat myshosts
- 70 rm /etc/hosts
- 71 cat myhosts
- 72 cat myshosts
- 73 ls -il /etc/hosts myhosts myshosts
- 74 ln myhosts /etc/hosts
- 75 history
- 76 ln /etc myetc
- 77 ln -s /etc myetc
- 78 ln /boot/vmlinuz-4.18.0-193.el8.x86_64 mykernel
- 79 ln -s /boot/vmlinuz-4.18.0-193.el8.x86_64 mykernel
- 80 history
- 81 mount
- 82 mount | grep '^/'
- 83 cd /boot
- 84 ls
- 85 cd /
- 86 umount /dev/sda1
- 87 cd boot
- 88 ls
- 89 cd ..
- 90 mount /dev/sda1 /boot
- 91 ls
- 92 cd boot
- 93 ls
- 94 mount /dev/sdb1 /mnt
- 95 man -k user
- 96 man man
- 97 man apropos
- 98 mandb
- 99 man -k user
- 100 man -k user | wc
- 101 man man
- 102 man -k user | grep 8
- 103 man -k user | grep 8 | wc
- 104 man useradd
- 105 man ls
- 106 info '(coreutils) ls invocation'
- 107 find / -name "hosts"
- 108 find / -name "*hosts*"
- 109 find / -user linda
- 110 find / -size +106M
- 111 find / -size +106M 2>/dev/null
- 112 exit
- 113 history
- 114 less /etc/passwd
- 115 less /etc/shadow
- 116 man 5 shadow
- 117 passwd --help
- 118 vim /etc/login.defs
- 119 cd /etc/skel
- 120 ls -a
- 121 echo hello >hello.txt
- 122 pwd
- 123 useradd bill
- 124 grep bill /etc/passwd
- 125 grep bill /etc/shadow
- 126 passwd --help
- 127 passwd -l linda
- 128 grep linda /etc/passwd
- 129 grep linda /etc/shadow
- 130 passwd -u linda
- 131 chage linda
- 132 grep linda /etc/shadow
- 133 vim /etc/login.defs
- 134 groupadd students
- 135 groupadd profs
- 136 useradd -G sales lisa
- 137 useradd -G students lisa
- 138 useradd -G students linda
- 139 usermod -aG student linda
- 140 useradd -G profs anna
- 141 useradd -G profs anouk
- 142 useradd --help
- 143 usermod --help
- 144 grep student /etc/groups
- 145 grep student /etc/group
- 146 id linda
- 147 usermod -G students linda
- 148 usermod --help
- 149 vigr
- 150 cd
- 151 su - linda
- 152 mkdir /data/profs
- 153 mkdir /data/profs -p
- 154 cd /data
- 155 ls -l
- 156 chown profs profs
- 157 chgrp profs profs
- 158 ls -l
- 159 chmod 770 profs/
- 160 cd /home/linda
- 161 touch rootfile1
- 162 touch rootfile2
- 163 touch rootfile3
- 164 su - linda
- 165 pwd
- 166 vim playme
- 167 ls -l
- 168 chmod +x playme
- 169 su - linda
- 170 chmod u+s playme
- 171 ls -l
- 172 su - linda
- 173 vim playme
- 174 su - linda
- 175 ls -l /etc/shadow
- 176 ls -l $(which passwd)
- 177 find / -perm /4000
- 178 mkdir -p /data/profs
- 179 cd /data
- 180 ls -l
- 181 su - anouk
- 182 usermod -aG profs anouk
- 183 id anna
- 184 cd profs/
- 185 su - anouk
- 186 su - anna
- 187 chmod g+s .
- 188 ls -l .
- 189 ls -ld .
- 190 touch root
- 191 ls -l
- 192 su - anouk
- 193 su - anna
- 194 chmod +t .
- 195 ls -ld .
- 196 su - anna
- 197 chown anna .
- 198 ls -ld .
- 199 su - anna
- 200 cd /data/nna
- 201 cd /home/anna/
- 202 touch hello
- 203 ls -l
- 204 ls -ld .
- 205 cd /data/student
- 206 mkdir /data/students
- 207 chown :students /data/students
- 208 cd /data
- 209 ls -l
- 210 chmod 3770 students/
- 211 ls -l
- 212 chmos o+x students/
- 213 chmod o+x students/
- 214 ls -l
- 215 chmod g-x students
- 216 ls -l
- 217 chmod 3770 students/
- 218 ls -l
- 219 chmod -t *
- 220 ls -l
- 221 cd students/
- 222 touch rootfile
- 223 chmod 000 rootfile
- 224 su - lisa
- 225 cd
- 226 countdown 12
- 227 cd /data
- 228 ls -l
- 229 tree
- 230 su - anna
- 231 su - lisa
- 232 tree
- 233 cd students/
- 234 ls -l
- 235 cd ..
- 236 getfacl -m -R g:profs:rx /data/students
- 237 setfacl -m -R g:profs:rx /data/students
- 238 setfacl -R -m g:profs:rx /data/students
- 239 ls -l /data/students/
- 240 getfacl students/
- 241 getfacl students/lisa1
- 242 man setfacl
- 243 setfacl -R -x g:profs students/
- 244 ls -l /data/students/
- 245 getfacl students/
- 246 setfacl -R -m g:profs:rX /data/students
- 247 getfacl students/
- 248 ls -l students/
- 249 su - linda
- 250 ls -l students/
- 251 getfacl students/lisa1
- 252 getfacl students/lindapaper
- 253 history
- 254 setfacl -m d:g:profs:rx /data/students
- 255 getfacl students/
- 256 su - linda
- 257 getfacl students/ldain2
- 258 history
- 259 getfacl students/
- 260 yum repolist
- 261 cd /etc/yum.repos.d/
- 262 ls
- 263 rm -f *
- 264 yum repolist
- 265 yum install nmap
- 266 cd
- 267 dd if=/dev/sr0 of=/centos8.iso bs=1M
- 268 cd /
- 269 ls -l
- 270 df -h
- 271 mkdir /repo
- 272 vim /etc/fstab
- 273 ls /repo
- 274 ls /repo/
- 275 mount -a
- 276 ls /repo/
- 277 yum repolist
- 278 cd repo
- 279 ls
- 280 cd BaseOS/
- 281 ls
- 282 ls Packages/
- 283 ls repodata/
- 284 cd ../AppStream/
- 285 ls
- 286 cd /etc/yum.repos.d/
- 287 vim base.repo
- 288 vim appstream.repo
- 289 yum repolist
- 290 yum search nmap
- 291 yum install nmap
- 292 vim appstream.repo
- 293 countdown 12
- 294 cd
- 295 yum search seinfo
- 296 yum provides */seinfo
- 297 yum install setools-console
- 298 ls -l $(which dnf)
- 299 ls -l $(which yum)
- 300 yum module list
- 301 yum module provides python
- 302 yum module provides python3
- 303 yum module provides httpd
- 304 yum module info httpd
- 305 yum module provides python36
- 306 yum module list
- 307 yum module list virt
- 308 yum module list php
- 309 yum module install php:7.3/minimal
- 310 lsblk
- 311 poweroff
- 312 lsblk
- 313 fdisk /dev/sda
- 314 lsblk
- 315 mkfs.xfs /dev/sda3
- 316 mkdir /files
- 317 vim /etc/fstab
- 318 mount -a
- 319 cd /
- 320 ls
- 321 ls -l
- 322 date
- 323 umount /files
- 324 vim /etc/fstab
- 325 ls
- 326 history | grep mkdir
- 327 mount -a
- 328 history
- 329 mount -a
- 330 mkdir /myfiles
- 331 mount -a
- 332 mount
- 333 countdown 12
- 334 fdisk /dev/sda
- 335 lsblk
- 336 cat /proc/partitions
- 337 reboot
- 338 lsblk
- 339 yum search btrfs
- 340 yum install epel-release
- 341 mkfs.xfs /dev/sda5
- 342 mkfs.ext4 /dev/sda6
- 343 mkdir /xfs /ext4
- 344 vim /etc/fstab
- 345 mount -a
- 346 umount /xfs
- 347 vi /etc/fstab
- 348 fdisk /dev/sda
- 349 reboot
- 350 lsblk
- 351 blkid
- 352 tune2fs --help
- 353 tune2fs -L goat /dev/sda5
- 354 vim /etc/fstab
- 355 xfs_admin --help
- 356 reboot
- 357 mount
- 358 mount | grep '^/'
- 359 blkid
- 360 lsblk
- 361 fdisk /dev/sda
- 362 mount /dev/sda6 /xfs
- 363 umount /xfs
- 364 xfs_admin -L cow /dev/sda6
- 365 vim /etc/fstab
- 366 fdisk /dev/sda
- 367 reboot
- 368 history
- 369 lsblk
- 370 blkid
- 371 cat /etc/fstab
- 372 xxd /dev/sda5 | less
- 373 xxd /dev/sda6 | less
- 374 history
Add Comment
Please, Sign In to add comment