Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- student@student-virtual-machine:~$ history
- 1 w
- 2 exit
- 3 ls
- 4 sudo chvt 2
- 5 ls
- 6 ls /root
- 7 sudo ls /root
- 8 id
- 9 history
- 10 pwd
- 11 sudo -i
- 12 sudo chvt 3
- 13 who
- 14 vim countdown
- 15 sudo apt install vim
- 16 vim countdown
- 17 countdown 11
- 18 ./countdown 11
- 19 ls -l countdown
- 20 chmod +x countdown
- 21 ./countdown 11
- 22 history
- 23 nano countdown
- 24 echo hello
- 25 echo hello > hellofile
- 26 echo goodbye > Hellofile
- 27 cat hellofile
- 28 cat Hellofile
- 29 CAT hellofile
- 30 nano countdown
- 31 ./countdown 0
- 32 history
- 33 echo $PATH
- 34 ls
- 35 which ls
- 36 ls -l countdown
- 37 ls -l hellofile
- 38 countdown 11
- 39 cp countdown /usr/local/bin
- 40 whoami
- 41 sudo cp countdown /usr/local/bin
- 42 countdown 1
- 43 history
- 44 apt install openssh-server
- 45 sudo apt install openssh-server
- 46 ps
- 47 ps aux
- 48 ps aux | grep ssh
- 49 sudo systemctl status sshd
- 50 ip a
- 51 history
- 52 ps aux
- 53 ps -aux
- 54 ls --help
- 55 ls --help | less
- 56 cd /etc
- 57 ls -lrt
- 58 ls --lrt
- 59 ls -lrt
- 60 man ls
- 61 countdown 11
- 62 man man
- 63 man passwd
- 64 man 5 passwd
- 65 man -a passwd
- 66 man -k user
- 67 man -k user | wc
- 68 man -k user | grep 8
- 69 man -k sander
- 70 man man
- 71 man apropos
- 72 man mandb
- 73 mandb
- 74 sudo mandb
- 75 man ls
- 76 pinfo '(coreutils) ls invocation'
- 77 sudo apt install pinfo
- 78 pinfo '(coreutils) ls invocation'
- 79 mount
- 80 lsblk
- 81 sudo gdisk /dev/sda
- 82 cd /dev
- 83 ls -l
- 84 ls
- 85 w
- 86 cd /etc
- 87 ls
- 88 cat passwd
- 89 cat shadow
- 90 ls -l shadow
- 91 ls -l passwd
- 92 id
- 93 sudo cat shadow
- 94 ls
- 95 less rsyslog.conf
- 96 cd /
- 97 ls
- 98 man hier
- 99 cd boot
- 100 ls
- 101 ls -l
- 102 cd /home
- 103 ls
- 104 cd /root
- 105 cd /usr
- 106 ls
- 107 cd /proc
- 108 ls
- 109 sudo cat meminfo
- 110 ls
- 111 ps aux | grep sshd
- 112 cd 5504
- 113 ls
- 114 cat environ
- 115 sudo cat environ
- 116 sudo cat status
- 117 cd /proc/sys
- 118 ls
- 119 sudo sysctl -a
- 120 sudo sysctl -a | wc
- 121 cd
- 122 history
- 123 sudo poweroff
- 124 history
- student@student-virtual-machine:~$
- student@student-virtual-machine:~$ cat countdown
- #!/bin/bash
- COUNTER=$1
- COUNTER=$(( COUNTER * 60 ))
- while true
- do
- echo $COUNTER seconds remaining in break
- COUNTER=$(( COUNTER - 1 ))
- sleep 1
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement