Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 reboot
- 2 ls /root
- 3 whoami
- 4 sudo ls /root
- 5 id
- 6 whoami
- 7 sudo useradd linda
- 8 sudo passwd linda
- 9 su - linda
- 10 history
- 11 sudo -i
- 12 sudo su -
- 13 ssh 192.168.29.143
- 14 ls
- 15 LS
- 16 ls -l
- 17 ps aux
- 18 history
- 19 ls --help
- 20 ls --help | less
- 21 ls -all
- 22 ls --all
- 23 ls -l -r -t
- 24 ls -lrt
- 25 ls --help | less
- 26 whoami
- 27 whoami --help
- 28 hostname
- 29 hostnamectl set-hostname linfun.example.com
- 30 hostnamectl --help
- 31 date
- 32 uname
- 33 uname --help
- 34 uname --all
- 35 exit
- 36 ./countdown 12
- 37 ./countdown 1
- 38 ./countdown 5
- 39 ./countdown 12
- 40 ./countdown 1
- 41 ./countdown 7
- 42 ./countdown 12
- 43 sudo id linda
- 44 sudo usermod -aG wheel linda
- 45 sudo id linda
- 46 ls -l /etc/hosts
- 47 sudo groupadd sales
- 48 sudo usermod -aG sales linda
- 49 id linda
- 50 sudo mkdir /data/sales -p
- 51 ls -ld /data/sales
- 52 chown linda /data/sales
- 53 sudo chown linda /data/sales
- 54 sudo chown :sales /data/sales
- 55 ls -ld /data/sales
- 56 chmod 770 /data/sales
- 57 sudo chmod 770 /data/sales
- 58 ls -ld /data/sales
- 59 exit
- 60 history
- 61 passwd linda
- 62 touch hello
- 63 ls
- 64 pwd
- 65 cd /
- 66 touch hello
- 67 cd
- 68 ls -l
- 69 touch hello
- 70 ls -l
- 71 history
- 72 vim countdown
- 73 countdown 12
- 74 ./countdown 12
- 75 chmod +x countdown
- 76 history
- 77 cat countdown
- 78 countdown 12
- 79 echo $PATH
- 80 ls -l countdown
- 81 nano countdown
- 82 echo $(( 2 * 6 ))
- 83 man ls
- 84 man man
- 85 man -k user
- 86 man man
- 87 man apropos
- 88 man mandb
- 89 mandb
- 90 man mandb
- 91 sudo mandb
- 92 man -k user
- 93 man -k user | grep 8
- 94 man ls
- 95 pinfo '(coreutils) ls invocation'
- 96 history
- 97 homebrew
- 98 man -k hostname
- 99 man hostnamectl
- 100 history | grep hostnamectl
- 101 lvcreate --help | less
- 102 history
- 103 pwd
- 104 ls
- 105 ls -a
- 106 ls -al
- 107 ls -ld ..
- 108 cd ..
- 109 cd /etc
- 110 ls
- 111 ls -l passwd
- 112 cat passwd
- 113 ls a*
- 114 ls -d a*
- 115 pwd
- 116 ls A*
- 117 ls -d a?*
- 118 ls -d a?b*
- 119 ls -d a?a*
- 120 ls -d a?[ao]*
- 121 ls -d a?[a-f]*
- 122 mkdir hello
- 123 cd
- 124 mkdir hello
- 125 ls -l
- 126 mkdir bye
- 127 ls
- 128 cd bye
- 129 touch hello
- 130 ls
- 131 pwd
- 132 cd ..
- 133 rmdir bye/
- 134 rm -r bye/
- 135 rm -rf bye/
- 136 ls
- 137 echo $?
- 138 cd /
- 139 ls
- 140 ls /
- 141 ssh 192.168.29.143
- 142 man hier
- 143 cd /var
- 144 ls
- 145 ls log
- 146 cd /usr
- 147 ls
- 148 cd sbin
- 149 ls
- 150 man rtmon
- 151 cd ..
- 152 ls
- 153 cd local
- 154 ls
- 155 ls ~
- 156 countdown
- 157 cp ~/countdown /usr/local/bin/
- 158 sudo cp ~/countdown /usr/local/bin/
- 159 countdown
- 160 echo $PATH
- 161 pwd
- 162 sudo cp ~/countdown bin/
- 163 cd ../sbin
- 164 pwd
- 165 cd local
- 166 cd ../local
- 167 cd sbin
- 168 pwd
- 169 sudo cp ~/countdown ../bin
- 170 cd
- 171 ls
- 172 cp countdown scripts/
- 173 cp countdown scripts
- 174 ls
- 175 rm scripts
- 176 mkdir hidden
- 177 cp -a * hidden/
- 178 ls -al hidden/
- 179 rm -f hidden/*
- 180 rm -fr hidden/*
- 181 cp -a .* hidden/
- 182 ls -al hidden/
- 183 cd
- 184 ls
- 185 mv hello goodbye
- 186 ls
- 187 history
- 188 cat /etc/os-release
- 189 cp /etc/hosts .
- 190 ls -il /etc/hosts hosts
- 191 ln hosts linked
- 192 ls -il hosts linked
- 193 echo hello
- 194 echo hello >> hosts
- 195 ls -il hosts linked
- 196 cat linked
- 197 ln -s hosts symlink
- 198 ls -il hosts linked symlink
- 199 cat symlink
- 200 rm hosts
- 201 ls -il hosts linked symlink
- 202 cat symlink
- 203 ls
- 204 cat linked
- 205 cd /
- 206 ls -l
- 207 history
- 208 cd /etc
- 209 ls -l hosts
- 210 find / -name "hosts"
- 211 find / -name "hosts" 2> /dev/null
- 212 find / -name "*hosts*" 2> /dev/null
- 213 find / -user linda
- 214 find / -user linda 2>/dev/null
- 215 find / -type f -user linda 2>/dev/null
- 216 sudo find / -size +500M
- 217 sudo mkdir /root/linda ; sudo find / -user linda -exec cp {} /root/linda/ \;
- 218 sudo mkdir /root/linda ; sudo find / -user linda -exec cp -r {} /root/linda/ \;
- 219 sudo find / -user linda -exec ls -al {} \; -exec cp {} /root/linda/ \;
- 220 sudo find / -user linda -exec ls -dal {} \; -exec cp -r {} /root/linda/ \;
- 221 cd
- 222 sudo tar -cvf etc.tar /etc
- 223 ls
- 224 ls -l etc.tar
- 225 sudo tar -czvf etc.tar.gz /etc
- 226 ls -l etc*
- 227 sudo tar -cjvf etc.tar.bz /etc
- 228 ls -l etc*
- 229 sudo tar -cJvf etc.tar.xz /etc
- 230 ls -l etc*
- 231 tar -tvf etc.tar.gz
- 232 tar xvf etc.tar.xz
- 233 ls
- 234 ls etc
- 235 history
- 236 mkdir -p /tmp/files/pictures /tmp/files/photos /tmp/files/videos
- 237 tree /tmp/files
- 238 sudo dnf install tree
- 239 sudo cp /etc/[abc]* /tmp/files/
- 240 cd /tmp/files
- 241 ls
- 242 mv [ab]* photos/
- 243 mv c* videos/
- 244 tree
- 245 ls -lr
- 246 ls -lR
- 247 man find
- 248 sudo find /etc -size -1000c -exec cp {} /tmp/files/pictures/
- 249 sudo find /etc -size -1000c -exec cp {} /tmp/files/pictures/ \;
- 250 tree
- 251 history
- 252 ln -s /var var
- 253 ls
- 254 ls -l
- 255 cd
- 256 tar czvf home.tgz /home
- 257 sudo tar czvf /tmp/home.tgz /home
- 258 history
- 259 mkdir /tmp/archive
- 260 cd /tmp/archive/
- 261 tar -xvf ../home.tgz .
- 262 tar -xvf ../home.tgz
- 263 ls
- 264 tree
- 265 history
- 266 cd
- 267 nano countdown
- 268 vim vimcommands
- 269 cat vimcommands
- 270 tail /etc/passwd
- 271 head /etc/passwd
- 272 tail -5 /etc/passwd
- 273 tail -5 /etc/passwd | head -1
- 274 cat countdown
- 275 tac countdown
- 276 cd /etc
- 277 grep linda * 2>/dev/null
- 278 grep -l linda * 2>/dev/null
- 279 ps aux | grep ssh
- 280 alias
- 281 ps aux | grep ssh | grep -v grep
- 282 grep -i linda *
- 283 grep -i allow * -A 5
- 284 grep -i allow * -B 5 2>/dev/null
- 285 grep -i allow * -C 3 2>/dev/null
- 286 grep -l linda *
- 287 grep -l linda * 2>/dev/null
- 288 grep -lR linda * 2>/dev/null
- 289 echo PATH
- 290 echo $PATH
- 291 echo '$PATH'
- 292 man 7 regex
- 293 d
- 294 cd
- 295 vim textfile
- 296 grep 'l' textfile
- 297 vim textfile
- 298 grep 'l' textfile
- 299 grep '^l' textfile
- 300 grep 'anna$' textfile
- 301 grep '^$' textfile
- 302 grep 'anna\b' textfile
- 303 grep '^anna\b' textfile
- 304 grep 'b.*t' textfile
- 305 vim textfile
- 306 grep 'b.*t' textfile
- 307 grep 'b.+t' textfile
- 308 grep -E 'b.+t' textfile
- 309 grep -E 'b.?t' textfile
- 310 grep 'b.\{4\}t' textfile
- 311 vim textfile
- 312 grep 'b.\{4\}t' textfile
- 313 grep 'bo\{4\}t' textfile
- 314 grep -E 'ba+t' textfile
- 315 grep -E 'bo+t' textfile
- 316 history
- 317 sed -n 5p /etc/passwd
- 318 sed s/anna/onno/g textfile
- 319 cat textfile
- 320 sed -i -e '2d' textfile
- 321 cat textfile
- 322 echo hello > {1..9}.txt
- 323 echo hello 1.txt
- 324 echo hello > 1.txt
- 325 echo hello > 2.txt
- 326 echo hello > 3.txt
- 327 for i in *txt; do sed -i 's/hello/coffee/' $i; done
- 328 cat 3.txt
- 329 cat /etc/passwd
- 330 awk -F : '{ print $4 }' /etc/passwd
- 331 cat /etc/passwd
- 332 awk -F : '/linda/ { print $3 }' /etc/passwd
- 333 awk -F : '$3 > 999 { print $1 }' /etc/passwd
- 334 pinfo sed
- 335 history
- 336 grep root /etc/*
- 337 grep root /etc/* 2>/dev/null
- 338 grep root /etc/* &>/dev/null
- 339 ps aux | tee psfile | grep ssh
- 340 less psfile
- 341 sudo sh -c "echo password | passwd --stdin linda"
- 342 history
- 343 history -d 318
- 344 history
- 345 history -d 318
- 346 for i in *txt; do sed -i 's/hello/coffee/' $i; done
- 347 ls -a
- 348 sudo userhelper --help
- 349 touch kughkuguiguyfuyfytdtydyfyguikhkhvghfdtydtrdytfyugfgkuhguigfudytdytufiyuguigiuguigg
- 350 ls
- 351 rm kughkuguiguyfuyfytdtydyfyguikhkhvghfdtydtrdytfyugfgkuhguigfudytdytufiyuguigiuguigg
- 352 echo $HISTFILESIZE
- 353 export HISTFILESIZE=100000
- 354 echo $SHELL
- 355 echo $USER
- 356 echo $PATH
- 357 env
- 358 alias
- 359 less /etc/bashrc
- 360 ssh 192.168.29.143
- 361 alias sander='echo is it coffetime'
- 362 sander
- 363 sleep 300
- 364 vim /etc/profile
- 365 cd /etc/profile.d/
- 366 ls
- 367 cd
- 368 vim /etc/modprobe.d/
- 369 ls -a
- 370 vim .bash_logout
- 371 vim /etc/bashrc
- 372 vim .bashrc
- 373 sleep infinity
- 374 jobs
- 375 bg
- 376 jobs
- 377 fg
- 378 sleep infinity &
- 379 ps aux
- 380 kill 44688
- 381 kill 3417
- 382 who
- 383 sudo dd if=/dev/zero of=/dev/null &
- 384 jobs
- 385 sudo -i
- 386 history
- 387 ps aux
- 388 ps aux | less
- 389 ps faux | less
- 390 ps -ef
- 391 sudo -i
- 392 ip a
- 393 man ifconfig
- 394 ip route show
- 395 ping nu.nl
- 396 sudo lsblk
- 397 sudo mount /dev/sdb1 /mnt
- 398 sudo lsblk
- 399 ls -l /mnt
- 400 cat /etc/fstab
- 401 sudo journalctl
- 402 sudo systemctl status sshd
- 403 sudo ls -l /var/log
- 404 less /var/log/messages
- 405 sudo less /var/log/messages
- 406 exit
- 407 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement