Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Your Hardware Enablement Stack (HWE) is supported until April 2025.
- Last login: Wed Dec 16 17:40:55 2020 from 192.168.4.42
- student@student-virtual-machine:~$ exit
- logout
- Connection to 192.168.4.41 closed.
- student@student-virtual-machine:~/mydir$ ssh student@192.168.4.42
- The authenticity of host '192.168.4.42 (192.168.4.42)' can't be established.
- ECDSA key fingerprint is SHA256:b9bbBmBF54e5fSY1fcwM/D9xFk79dNs2xz/klUIwufI.
- Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
- Warning: Permanently added '192.168.4.42' (ECDSA) to the list of known hosts.
- student@192.168.4.42's password:
- Activate the web console with: systemctl enable --now cockpit.socket
- Last login: Wed Dec 16 17:34:12 2020 from 192.168.4.1
- [student@linfuncent ~]$
- [student@linfuncent ~]$ cat countdown
- #!/bin/bash
- COUNTER=$1
- COUNTER=$(( COUNTER * 60 ))
- while [ $COUNTER -gt 0 ]
- do
- echo $COUNTER seconds remaining in break
- sleep 1
- COUNTER=$(( COUNTER - 1 ))
- done
- [student@linfuncent ~]$ history
- 1 w
- 2 sudo chvt 2
- 3 vimtutor
- 4 vim countdown
- 5 countdown 12
- 6 ./countdown 12
- 7 chmod +x countdown
- 8 ./countdown 12
- 9 cat countdown
- 10 chvt 3
- 11 sudo chvt 3
- 12 ip a
- 13 ssh 192.168.4.41
- 14 sudo dnf install openssh
- 15 sudo firewall-cmd --list-all
- 16 cat /etc/os-release
- 17 history
- 18 countdown 12
- 19 echo $PATH
- 20 pwd
- 21 ./countdown
- 22 cp countdown /usr/local/bin/
- 23 sudo cp countdown /usr/local/bin/
- 24 countdown
- 25 history
- 26 apt install nmap
- 27 uname -r
- 28 cat /etc/os-release
- 29 cat /etc/redhat-release
- 30 su -
- 31 su - lisa
- 32 sudo journalctl
- 33 su -
- 34 sudo id lisa
- 35 su - lisa
- 36 whoami
- 37 echo $PS1
- 38 cat countdown ; sleep 60; countdown 11
- 39 history
- 40 whoami
- 41 whoami --help
- 42 hostname --help
- 43 hostname
- 44 -A
- 45 hostname -A
- 46 hostname -i
- 47 date
- 48 uname --help
- 49 uname -p
- 50 lscpu
- 51 passwd
- 52 echo password
- 53 echo password | passwd --stdin lisa
- 54 sudo echo password | passwd --stdin lisa
- 55 sudo 'echo password | passwd --stdin lisa'
- 56 sudo -c 'echo password | passwd --stdin lisa'
- 57 sudo -i
- 58 touch abc
- 59 ls -l
- 60 pwd
- 61 cd /
- 62 touch abc
- 63 cd
- 64 ls -l
- 65 date
- 66 touch abc
- 67 ls -l
- 68 last
- 69 man usermod
- 70 man man
- 71 man usermod
- 72 man lvcreate
- 73 man -k user
- 74 sudo mandb
- 75 man -k user
- 76 man -k user | wc
- 77 man -k user
- 78 man -k user | grep 8
- 79 man ls
- 80 pinfo 'coreutils'
- 81 cd /usr/share/doc/
- 82 ls
- 83 countdown 12
- 84 cd
- 85 vim countdown
- 86 sudo dnf search tools
- 87 sudo dnf search tools | grep virt
- 88 sudo dnf search tools | grep vm
- 89 sudo dnf install open-vm-tools
- 90 sudo reboot
- 91 cat countdown
- 92 history
- [student@linfuncent ~]$ exit
- logout
- Connection to 192.168.4.42 closed.
- student@student-virtual-machine:~/mydir$ history
- 1 sudo apt install git vim bash-completion
- 2 git clone https://github.com/sandervanvugt/microservices
- 3 cd microservices/
- 4 ./kube-setup.sh
- 5 sudo reboot
- 6 cd microservices/
- 7 cat kube-setup.sh
- 8 minikube start --memory 4096 --vm-driver=kvm2
- 9 cd
- 10 ls
- 11 sudo apt install openssh-server
- 12 sudo systemctl status sshd
- 13 ufw --help
- 14 ufw status
- 15 sudo ufw status
- 16 ip a
- 17 sudo apt install nmap
- 18 sudo nmap -sn 192.168.4.0/24
- 19 sudo nmap 192.168.4.42
- 20 pwd
- 21 ls
- 22 ls -a
- 23 ls -lrt /etc
- 24 ls /etc
- 25 ls /etc/g*
- 26 ls -d /etc/g*
- 27 ls -ll
- 28 man ls
- 29 cd /etc
- 30 ls *
- 31 ls -d *
- 32 ls -l1
- 33 man ls
- 34 ls -l1
- 35 ls -l
- 36 ls -1
- 37 ls
- 38 ls -1
- 39 ls -d *
- 40 ls -d g*
- 41 ls -d g[rs]*
- 42 ls -d g[rs]??*
- 43 cd /
- 44 ls
- 45 ls -l
- 46 cd /var
- 47 ls
- 48 cd log
- 49 ls
- 50 ls -l
- 51 sudo less /var/log/syslog
- 52 sudo tail /var/log/syslog
- 53 cd /etc
- 54 ls
- 55 cd
- 56 man hier
- 57 cd /home
- 58 ;s
- 59 ls
- 60 sudo useradd lisa
- 61 ls
- 62 cd
- 63 cd /home
- 64 ls
- 65 sudo userdel lisa
- 66 useradd --help
- 67 sudo useradd -m lisa
- 68 ls
- 69 cd /tmp
- 70 ls
- 71 cd
- 72 mkdir mydir /mydir
- 73 ls
- 74 cd mydir/
- 75 cd ../microservices/
- 76 ls
- 77 cp kustomization.yaml ../../../tmp/
- 78 cp kustomization.yaml /tmp/blah/
- 79 cp kustomization.yaml /tmp/blah
- 80 ls -l kustomization.yaml /tmp/blah
- 81 echo hello >> kustomization.yaml
- 82 diff kustomization.yaml /tmp/blah
- 83 cd ../mydir/
- 84 cp -R /etc/ .
- 85 ls
- 86 cp -R /etc .
- 87 ls
- 88 cp -R /etc/* .
- 89 ls
- 90 rm -rf *
- 91 ls
- 92 touch hello
- 93 mv hello hellooooo
- 94 ls
- 95 mv hellooooo /tmp/
- 96 history
- 97 ssh student@192.168.4.41
- 98 ssh student@192.168.4.42
- 99 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement