Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 usermod -aG wheel student
- 2 exit
- 3 id
- 4 exit
- 5 cd /boot
- 6 ls -il
- 7 cp /etc/hosts .
- 8 ls -il
- 9 debugfs /dev/sda1
- 10 ls -l /etc/hosts
- 11 cat /etc/hosts
- 12 ls -li
- 13 cp hosts cphosts
- 14 ls -il hosts cphosts
- 15 ln hosts hardhosts
- 16 ls -il hosts hardhosts
- 17 echo hello >> hosts
- 18 ls -il hosts hardhosts
- 19 ln -s hosts symhosts
- 20 ls -il hosts hardhosts symhosts
- 21 cat symhosts
- 22 rm hosts
- 23 ls -l symhosts
- 24 cat symhosts
- 25 ln hardhosts hosts
- 26 cat symhosts
- 27 cd /
- 28 ls -l
- 29 history
- 30 ln /boot/hosts /tmp/hosts
- 31 ln /etc/ /tmp/etc
- 32 ln -s /etc/ /tmp/etc
- 33 cd /tmp
- 34 ls
- 35 exit
- 36 cd /boot
- 37 ls -l
- 38 chmod +x hosts
- 39 ls -l
- 40 find / -name "hosts"
- 41 find / -name "hosts" 2>/dev/null
- 42 find / -name "*hosts*" 2>/dev/null
- 43 find / -user linda
- 44 find / -size +200M 2>/dev/null
- 45 mkdir /root/linda; find / -user linda -exec cp {} /root/linda/ \;
- 46 history
- 47 cd
- 48 ls kugkjgjg ; who
- 49 ls kugkjgjg && who
- 50 ls kugkjgjg || who
- 51 ls /etc/hosts || who
- 52 find / -size +100M -exec ls -l {} \; -exec cp {} /root/linda/ \;
- 53 tar -cvf my_archive.tar /home /etc
- 54 ls -l
- 55 tar -tvf my_archive.tar
- 56 tar -xvf my_archive.tar
- 57 ls
- 58 yum install -y tree
- 59 tree etc
- 60 rm -rf etc home
- 61 ls
- 62 tar -czvf my_archive.tar /home /etc
- 63 ls -l
- 64 tar -cjvf my_archive.tar.bz2 /home /etc
- 65 ls -l
- 66 rm -rf /home
- 67 tar xvf my_archive.tar home -C /
- 68 tree /home
- 69 tar xvf my_archive.tar -C / home
- 70 tree /home
- 71 history
- 72 ls -l
- 73 file my_archive.tar
- 74 gunzip my_archive.tar
- 75 rm my_archive.tar
- 76 tar cvf etc.tar /etc
- 77 ls -l
- 78 gzip etc.tar
- 79 ls -l
- 80 gunzip etc.tar.gz
- 81 ls -l
- 82 bzip2 etc.tar
- 83 ls -l
- 84 bunzip2 etc.tar.bz2
- 85 xz etc.tar
- 86 ls -l
- 87 file my_archive.tar.bz2
- 88 find / -name countdown
- 89 echo $PATH
- 90 ln /usr/local/bin/countdown /usr/local/sbin/countdown
- 91 countdown 12
- 92 vim myfile
- 93 vimtutor
- 94 less /var/log/messages
- 95 more /var/log/messages
- 96 head /etc/passwd
- 97 head -5 /etc/passwd
- 98 head -5 /etc/passwd | tail -1
- 99 tail -f /var/log/messages
- 100 cat myfile
- 101 tac myfile
- 102 visudo
- 103 export EDITOR=/usr/bin/nano
- 104 visudo
- 105 echo export EDITOR=/usr/bin/nano >> .bashrc
- 106 vim .bashrc
- 107 export EDITOR=
- 108 visudo
- 109 cd /etc
- 110 grep linda *
- 111 grep linda * 2>/dev/null
- 112 ps aux
- 113 ps aux | grep ssh
- 114 ps aux | grep ssh | grep -v grep
- 115 grep LINDA *
- 116 grep LINDA * 2>/dev/null
- 117 grep -i LINDA * 2>/dev/null
- 118 grep -iR LINDA * 2>/dev/null
- 119 grep -iR root * 2>/dev/null
- 120 grep -iR -A 2 -B 2 linda * 2>/dev/null
- 121 COLOR=red
- 122 echo $COLOR
- 123 unset COLOR
- 124 echo $COLOR
- 125 cd
- 126 vim myfile
- 127 grep lea myfile
- 128 grep 'lea' myfile
- 129 grep '^lea' myfile
- 130 vim myfile
- 131 grep '^lea\b' myfile
- 132 grep '^lea' myfile
- 133 grep '^lea ' myfile
- 134 cat myfile
- 135 grep 'bo*t' myfile
- 136 grep 'bo+t' myfile
- 137 grep -E 'bo+t' myfile
- 138 grep -E 'bo?t' myfile
- 139 grep 'bon\{3\}nen' myfile
- 140 grep 'bon\{3\}en' myfile
- 141 grep '^.$' myfile
- 142 grep '^..$' myfile
- 143 grep 'bon{3}en' myfile
- 144 man semanage-fcontext
- 145 man 7 regex
- 146 man man
- 147 man 7 signals
- 148 man 7 signal
- 149 man 7 intro
- 150 man 7 standards
- 151 man man
- 152 man 2 intro
- 153 cat /etc/passwd
- 154 cut -d : -f 3 /etc/passwd
- 155 cut -d : -f 3 /etc/passwd | sort
- 156 cut -d : -f 3 /etc/passwd | sort -k
- 157 cut -d : -f 3 /etc/passwd | sort -n
- 158 echo hello | tr a-z A-Z
- 159 echo hello | tr [:lower:] [:upper:]
- 160 echo hello | tr [[:lower:]] [[:upper:]]
- 161 countdown 12
- 162 sed -n 5p /etc/passwd
- 163 vim myfile
- 164 sed -i s/bonnen/bennen/g myfile
- 165 cat myfile
- 166 ip a
- 167 for i in [1..99]; do echo $i; done
- 168 for i in {1..99}; do echo $i; done
- 169 for i in {1..99}; do echo hello > $i.conf; done
- 170 ls
- 171 cat 44.conf
- 172 for i in *conf; do sed -i 's/hello/goedemiddag/g' $i; done
- 173 cat 66.conf
- 174 awk -F : '{ print $4 }' /etc/passwd
- 175 awk -F : '/linda/ { print $3 }' /etc/passwd
- 176 awk -F : '$3 > 999 { print $1 }' /etc/passwd
- 177 pinfo sed
- 178 ls
- 179 ls > ls.out
- 180 less ls.out
- 181 who > ls.out
- 182 cat ls.out
- 183 date >> ls.out
- 184 cat ls.out
- 185 less /etc/services
- 186 sort /etc/services
- 187 yum install -y mailx
- 188 mail -s hello root
- 189 mail -s hello root < .
- 190 grep -R root /proc
- 191 grep -R root /proc 2> errors.txt
- 192 ps aux | tee psfile | grep ssh
- 193 less psfile
- 194 history
- 195 ls -a
- 196 date >> ls.out
- 197 ls
- 198 cd /etc
- 199 grep linda *
- 200 grep linda * > ~/outfile.txt
- 201 grep linda * > ~/outfile.txt 2&>1
- 202 less ~/outfile.txt
- 203 cd
- 204 history
- 205 cd /boot
- 206 ls -l
- 207 chmod +x hosts
- 208 ls -l
- 209 find / -name "hosts"
- 210 find / -name "hosts" 2>/dev/null
- 211 find / -name "*hosts*" 2>/dev/null
- 212 find / -user linda
- 213 find / -size +200M 2>/dev/null
- 214 mkdir /root/linda; find / -user linda -exec cp {} /root/linda/ \;
- 215 history
- 216 cd
- 217 ls kugkjgjg ; who
- 218 ls kugkjgjg && who
- 219 ls kugkjgjg || who
- 220 ls /etc/hosts || who
- 221 find / -size +100M -exec ls -l {} \; -exec cp {} /root/linda/ \;
- 222 tar -cvf my_archive.tar /home /etc
- 223 ls -l
- 224 tar -tvf my_archive.tar
- 225 tar -xvf my_archive.tar
- 226 ls
- 227 yum install -y tree
- 228 tree etc
- 229 rm -rf etc home
- 230 ls
- 231 tar -czvf my_archive.tar /home /etc
- 232 ls -l
- 233 tar -cjvf my_archive.tar.bz2 /home /etc
- 234 ls -l
- 235 rm -rf /home
- 236 tar xvf my_archive.tar home -C /
- 237 tree /home
- 238 tar xvf my_archive.tar -C / home
- 239 tree /home
- 240 history
- 241 ls -l
- 242 file my_archive.tar
- 243 gunzip my_archive.tar
- 244 rm my_archive.tar
- 245 tar cvf etc.tar /etc
- 246 ls -l
- 247 gzip etc.tar
- 248 ls -l
- 249 gunzip etc.tar.gz
- 250 ls -l
- 251 bzip2 etc.tar
- 252 ls -l
- 253 bunzip2 etc.tar.bz2
- 254 xz etc.tar
- 255 ls -l
- 256 file my_archive.tar.bz2
- 257 find / -name countdown
- 258 echo $PATH
- 259 ln /usr/local/bin/countdown /usr/local/sbin/countdown
- 260 countdown 12
- 261 vim myfile
- 262 vimtutor
- 263 less /var/log/messages
- 264 more /var/log/messages
- 265 head /etc/passwd
- 266 head -5 /etc/passwd
- 267 head -5 /etc/passwd | tail -1
- 268 tail -f /var/log/messages
- 269 cat myfile
- 270 tac myfile
- 271 visudo
- 272 export EDITOR=/usr/bin/nano
- 273 visudo
- 274 echo export EDITOR=/usr/bin/nano >> .bashrc
- 275 vim .bashrc
- 276 export EDITOR=
- 277 visudo
- 278 cd /etc
- 279 grep linda *
- 280 grep linda * 2>/dev/null
- 281 ps aux
- 282 ps aux | grep ssh
- 283 ps aux | grep ssh | grep -v grep
- 284 grep LINDA *
- 285 grep LINDA * 2>/dev/null
- 286 grep -i LINDA * 2>/dev/null
- 287 grep -iR LINDA * 2>/dev/null
- 288 grep -iR root * 2>/dev/null
- 289 grep -iR -A 2 -B 2 linda * 2>/dev/null
- 290 COLOR=red
- 291 echo $COLOR
- 292 unset COLOR
- 293 echo $COLOR
- 294 cd
- 295 vim myfile
- 296 grep lea myfile
- 297 grep 'lea' myfile
- 298 grep '^lea' myfile
- 299 vim myfile
- 300 grep '^lea\b' myfile
- 301 grep '^lea' myfile
- 302 grep '^lea ' myfile
- 303 cat myfile
- 304 grep 'bo*t' myfile
- 305 grep 'bo+t' myfile
- 306 grep -E 'bo+t' myfile
- 307 grep -E 'bo?t' myfile
- 308 grep 'bon\{3\}nen' myfile
- 309 grep 'bon\{3\}en' myfile
- 310 grep '^.$' myfile
- 311 grep '^..$' myfile
- 312 grep 'bon{3}en' myfile
- 313 man semanage-fcontext
- 314 man 7 regex
- 315 man man
- 316 man 7 signals
- 317 man 7 signal
- 318 man 7 intro
- 319 man 7 standards
- 320 man man
- 321 man 2 intro
- 322 cat /etc/passwd
- 323 cut -d : -f 3 /etc/passwd
- 324 cut -d : -f 3 /etc/passwd | sort
- 325 cut -d : -f 3 /etc/passwd | sort -k
- 326 cut -d : -f 3 /etc/passwd | sort -n
- 327 echo hello | tr a-z A-Z
- 328 echo hello | tr [:lower:] [:upper:]
- 329 echo hello | tr [[:lower:]] [[:upper:]]
- 330 countdown 12
- 331 sed -n 5p /etc/passwd
- 332 vim myfile
- 333 sed -i s/bonnen/bennen/g myfile
- 334 cat myfile
- 335 ip a
- 336 for i in [1..99]; do echo $i; done
- 337 for i in {1..99}; do echo $i; done
- 338 for i in {1..99}; do echo hello > $i.conf; done
- 339 ls
- 340 cat 44.conf
- 341 for i in *conf; do sed -i 's/hello/goedemiddag/g' $i; done
- 342 cat 66.conf
- 343 awk -F : '{ print $4 }' /etc/passwd
- 344 awk -F : '/linda/ { print $3 }' /etc/passwd
- 345 awk -F : '$3 > 999 { print $1 }' /etc/passwd
- 346 pinfo sed
- 347 ls
- 348 ls > ls.out
- 349 less ls.out
- 350 who > ls.out
- 351 cat ls.out
- 352 date >> ls.out
- 353 cat ls.out
- 354 less /etc/services
- 355 sort /etc/services
- 356 yum install -y mailx
- 357 mail -s hello root
- 358 mail -s hello root < .
- 359 grep -R root /proc
- 360 grep -R root /proc 2> errors.txt
- 361 ps aux | tee psfile | grep ssh
- 362 less psfile
- 363 history
- 364 ls -a
- 365 date >> ls.out
- 366 ls
- 367 cd /etc
- 368 grep linda *
- 369 grep linda * > ~/outfile.txt
- 370 grep linda * > ~/outfile.txt 2&>1
- 371 less ~/outfile.txt
- 372 cd
- 373 history
- 374 history -w
- 375 vim .bash_history
- 376 exit
- 377 history
- 378 history -w
- 379 cp .bash_history .bash_history.bak
- 380 history -d 365
- 381 history -w
- 382 history
- 383 cat .bash_history
- 384 exit
- 385 echo $COLOR
- 386 exit
- 387 echo $COLOR
- 388 exit
- 389 history
- 390 touch iwyrighiwhybiuheiurbhiuerhiubhiuerhbiuheriubiuebriubgeiugbui
- 391 ls
- 392 rm iwyrighiwhybiuheiurbhiuerhiubhiuerhbiuheriubiuebriubgeiugbui
- 393 yum install -y bash-completion
- 394 echo $EDITOR
- 395 echo $PATH
- 396 env
- 397 COLOR=red
- 398 echo $COLOR
- 399 bash
- 400 export COLOR=red
- 401 bash
- 402 vim ~/.bashrc
- 403 exit
- 404 echo $PATH
- 405 echo $EDITOR
- 406 set
- 407 env
- 408 alias hello='ls -l /etc/'
- 409 hello
- 410 alias
- 411 sleep 3600
- 412 vim /etc/profile
- 413 cd /etc/profile.d/
- 414 ls
- 415 vim colorls.sh
- 416 cd
- 417 vim .bash_profile
- 418 vim .bashrc
- 419 vim .bash_logout
- 420 countdown 12
- 421 sleep 3600
- 422 bg
- 423 jobs
- 424 sleep 1800 &
- 425 jobs
- 426 fg 2
- 427 fg
- 428 ps aux | grep ssh
- 429 systemctl status sshd
- 430 top
- 431 dd if=/dev/zero of=/dev/null &
- 432 top
- 433 ps
- 434 ps aux
- 435 ps -ef
- 436 ps -ef | less
- 437 ps -e -o pid,args --forest
- 438 kill -9 2394
- 439 ps -e -o pid,args --forest
- 440 ps aux --sort pmem | less
- 441 ps aux --sort pmem | head
- 442 dd if=/dev/zero of=/dev/null &
- 443 top
- 444 ps aux | grep dd
- 445 killall dd
- 446 ps aux
- 447 yum repolist
- 448 yum install epel-release
- 449 yum repolist
- 450 yum search nmap
- 451 yum install nmap
- 452 yum search rwho
- 453 yum search seinfo
- 454 yum provides */seinfo
- 455 yum install setools-console -y
- 456 yum install -y git
- 457 git clone git://git.sv.gnu.org/coreutils
- 458 ls
- 459 cd coreutils/
- 460 ls
- 461 cd src
- 462 ls
- 463 less cut.c
- 464 cd
- 465 which yum
- 466 ls -l /usr/bin/yum
- 467 su - linda
- 468 usermod -aG wheel linda
- 469 id linda
- 470 mkdir /data/sales
- 471 mkdir -p /data/sales
- 472 groupadd sales
- 473 usermod -aG sales linda
- 474 id linda
- 475 cd /data
- 476 ls
- 477 ls -l
- 478 chown linda.sales sales
- 479 ls -l
- 480 chmod 770 sales
- 481 su - linda
- 482 ip a
- 483 nmtui
- 484 man ifconfig
- 485 lsblk
- 486 umount /dev/sdb1
- 487 lsblk
- 488 mount /dev/sdb1 /mnt
- 489 cd /mnt
- 490 ls
- 491 cd
- 492 umount /dev/sdb1
- 493 yum install -y httpd
- 494 systemctl status httpd
- 495 systemctl start httpd
- 496 systemctl status httpd
- 497 systemctl enable httpd
- 498 cd /var/log
- 499 ls -l
- 500 less messages
- 501 journalctl
- 502 journalctl -u sshd
- 503 journalctl --dmesg
- 504 journalctl -u crond --since yesterday
- 505 man ifconfig
- 506 ip -s link
- 507 history
Add Comment
Please, Sign In to add comment