Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [student@centos tmp]$ history
- 1 cat /etc/os-release
- 2 exit
- 3 vim countdown
- 4 countdown
- 5 echo $PATH
- 6 ./countdown
- 7 ls -l countdown
- 8 chmod +x countdown
- 9 ./countdown
- 10 cat countdown
- 11 history
- 12 cat countdown
- 13 whoami
- 14 ls -l /root
- 15 sudo ls -l /root
- 16 rm -rf /root/*
- 17 id
- 18 cat /etc/group
- 19 cut -d : -f 1 /etc/group
- 20 tail -5 /etc/group
- 21 cut -d : -f 1 /etc/group
- 22 dnf install openssh
- 23 sudo dnf install openssh
- 24 sudo systemctl status sshd
- 25 ip a
- 26 ssh student@192.168.29.146
- 27 history
- 28 ssh localhost
- 29 history
- 30 ls
- 31 LS
- 32 ls --help
- 33 ls --help | less
- 34 ls -lrt
- 35 whoami
- 36 whoami --help
- 37 id -un
- 38 id
- 39 hostname
- 40 hostnamectl --help
- 41 hostnamectl status
- 42 hostnamectl hostname centos.example.com
- 43 hostnamectl status
- 44 date
- 45 date +%d-%m-%y
- 46 timedatactl
- 47 timedatectl
- 48 timedatectl --help
- 49 timedatectl show
- 50 timedatectl status
- 51 uname
- 52 uname --help
- 53 uname -r
- 54 uname -a
- 55 hostnamectl status
- 56 history
- 57 passwd
- 58 sudo passwd root
- 59 touch hello
- 60 ls -lrt
- 61 touch /hello
- 62 touch countdown
- 63 ls -l
- 64 last
- 65 man passwd
- 66 sudo passwd bob
- 67 echo $?
- 68 man passwd
- 69 passwd --help
- 70 man passwd
- 71 man man
- 72 man lvcreate
- 73 man -k user
- 74 man -k user |wc
- 75 man -k user | grep 8
- 76 man -k sander
- 77 man man
- 78 man apropos
- 79 man mandb
- 80 sudo mandb
- 81 man ls
- 82 pinfo '(coreutils) ls invocation'
- 83 cd /usr/share/doc
- 84 ls
- 85 cd passwd/
- 86 ls
- 87 cd ../PackageKit/
- 88 ls
- 89 exit
- 90 history
- 91 man -k hostname
- 92 man man
- 93 man hostnamectl
- 94 lvcreate --help
- 95 lvcreate --help | less
- 96 pwd
- 97 ls
- 98 ls -a
- 99 ls -ld /etc
- 100 ls -l /etc
- 101 ls -l /etc/sudo*
- 102 sudo ls -l /etc/sudo*
- 103 sudo ls -ld /etc/sudo*
- 104 cd /etc
- 105 ls a
- 106 ls a*
- 107 ls -d a*
- 108 ls -d a?[np]*
- 109 cd
- 110 pwd
- 111 cd /etc
- 112 mkdir new
- 113 cd /tmp
- 114 mkdir new
- 115 rmdir
- 116 rmdir new
- 117 mkdir new
- 118 touch new/file
- 119 ls new
- 120 rmdir new
- 121 rm -rf new/
- 122 touch new/file
- 123 mkdir new
- 124 touch new/file
- 125 man hier
- 126 pwd
- 127 cd home
- 128 cd /home
- 129 pwd
- 130 touch hello
- 131 ls
- 132 cd
- 133 touch hello
- 134 cd /var
- 135 ls -l /var/log/messages
- 136 ls -l log/messages
- 137 cd tmp
- 138 pwd
- 139 ls -l log/messages
- 140 ls -l ../log/messages
- 141 ls -l ../../var/log/messages
- 142 pwd
- 143 cp /var/log/messages newdir
- 144 sudo cp /var/log/messages newdir
- 145 ls -ld newdir
- 146 sudo rm newdir
- 147 sudo cp /var/log/messages newdir/
- 148 cp -a ~/.* .
- 149 ls -a
- 150 cp /etc/hosts .
- 151 ls
- 152 mv hosts whatever
- 153 ls
- 154 mv whatever ~/hosts
- 155 ls
- 156 ls ~
- 157 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement