Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [student@localhost /]$ history
- 1 vim countdown
- 2 chmod +x countdown
- 3 ./countdown 12
- 4 vim countdown
- 5 ./countdown 12
- 6 echo hello
- 7 ls
- 8 file countdown
- 9 ./countdown 12
- 10 sudo yum search gcc
- 11 sudo ls -al /root/
- 12 su
- 13 sudo ls -al /root/
- 14 id
- 15 su
- 16 id
- 17 sudo ls -al /root/
- 18 sudo less /var/log/messages
- 19 env
- 20 history
- 21 ip a
- 22 sudo nmtui
- 23 ip a
- 24 sudo systemctl status sshd
- 25 sudo firewall-cmd --list-all
- 26 ./countdown 12
- 27 whoami
- 28 whoami --help
- 29 hostname --help
- 30 hostname --help | less
- 31 hostname
- 32 hostname -i
- 33 hostname -I
- 34 date
- 35 date --help | less
- 36 date
- 37 timedatectl --help
- 38 timedatectl status
- 39 timedatectl list-timezones
- 40 timedatectl --help
- 41 timedatectl set-timezone Europe/Amsterdam
- 42 timedatectl status
- 43 uname
- 44 uname --help
- 45 uname -a
- 46 passwd
- 47 sudo passwd
- 48 pwd
- 49 ls
- 50 touch hello
- 51 ls
- 52 ls -l
- 53 cd /
- 54 touch hello
- 55 cd /tmp
- 56 touch hellooooo
- 57 ls -l
- 58 last
- 59 cd
- 60 less /etc/passwd
- 61 history
- 62 sudo ps aux
- 63 sudo ps aux | less
- 64 sudo ps aux | grep ssh
- 65 history
- 66 man last
- 67 man lvcreate
- 68 man man
- 69 man useradd
- 70 useradd bob
- 71 sudo useradd bob
- 72 man -k user
- 73 man man
- 74 man apropos
- 75 man mandb
- 76 sudo mandb
- 77 man -k user
- 78 man -k user | wc
- 79 man -k user | grep 8
- 80 man ls
- 81 pinfo '(coreutils) ls invocation'
- 82 ./countdown 12
- 83 ls
- 84 ls -a
- 85 ls -al
- 86 sudo ls -lrt /var/log/
- 87 sudo ls -l /etc
- 88 sudo ls -ld /etc
- 89 ls -l /etc/a*
- 90 ls -ld /etc/a*
- 91 ls -ld /etc/a?*
- 92 ls -ld /etc/a???*
- 93 ls -ld /etc/a*
- 94 ls -ld /etc/a[ln]*
- 95 cd /
- 96 ls
- 97 cd mnt
- 98 cd /
- 99 cd /mnt
- 100 cd usr
- 101 ls
- 102 cd /usr
- 103 ls
- 104 cd bin
- 105 pwd
- 106 cd ../share
- 107 pwd
- 108 cd
- 109 mkdir files
- 110 ls -l
- 111 rmdir files
- 112 clear
- 113 cd /
- 114 pwd
- 115 cd -
- 116 cd //
- 117 pwd
- 118 ls
- 119 cd usr
- 120 ls
- 121 du -hs
- 122 cd /
- 123 ls
- 124 cd etc
- 125 ls
- 126 cat shadow
- 127 sudo cat shadow
- 128 cd /var
- 129 ls
- 130 cd /
- 131 ls
- 132 man hier
- 133 cd
- 134 sudo ln /etc/hosts /tmp/myhosts
- 135 ls -il /etc/hosts /tmp/myhosts
- 136 sudo echo hello >> /etc/hosts
- 137 sudo "echo hello >> /etc/hosts"
- 138 sudo -i
- 139 cd /
- 140 ls
- 141 ls -l
- 142 history
- [student@localhost /]$
- [student@localhost /]$ sudo -i
- [root@localhost ~]# history
- 1 pwd
- 2 whoami
- 3 id student
- 4 usermod -aG wheel student
- 5 id student
- 6 exit
- 7 id student
- 8 reboot
- 9 echo hello >> /etc/hosts
- 10 ls -li /etc/hosts /tmp/myhosts
- 11 ln -s /tmp/myhosts mysymlink
- 12 ls -li /etc/hosts /tmp/myhosts mysymlink
- 13 cat mysymlink
- 14 rm /tmp/myhosts
- 15 cat mysymlink
- 16 ls -l
- 17 ln /etc/hosts /tmp/myhosts
- 18 exit
- 19 history
Advertisement
Add Comment
Please, Sign In to add comment