Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- connection.auth-retries ipv4.dad-timeout ipv6.dns-options
- connection.autoconnect ipv4.dhcp-client-id ipv6.dns-priority
- connection.autoconnect-priority ipv4.dhcp-fqdn ipv6.dns-search
- connection.autoconnect-retries ipv4.dhcp-hostname ipv6.gateway
- connection.autoconnect-slaves ipv4.dhcp-hostname-flags ipv6.ignore-auto-dns
- connection.gateway-ping-timeout ipv4.dhcp-iaid ipv6.ignore-auto-routes
- connection.id ipv4.dhcp-reject-servers ipv6.ip6-privacy
- connection.interface-name ipv4.dhcp-send-hostname ipv6.may-fail
- connection.lldp ipv4.dhcp-timeout ipv6.method
- connection.llmnr ipv4.dhcp-vendor-class-identifier ipv6.never-default
- connection.master ipv4.dns ipv6.ra-timeout
- connection.mdns ipv4.dns-options ipv6.route-metric
- connection.metered ipv4.dns-priority ipv6.routes
- connection.mud-url ipv4.dns-search ipv6.route-table
- connection.multi-connect ipv4.gateway ipv6.routing-rules
- connection.permissions ipv4.ignore-auto-dns ipv6.token
- connection.read-only ipv4.ignore-auto-routes master
- connection.secondaries ipv4.may-fail match.driver
- connection.slave-type ipv4.method match.interface-name
- connection.stable-id ipv4.never-default match.kernel-command-line
- connection.timestamp ipv4.route-metric match.path
- connection.type ipv4.routes proxy.browser-only
- connection.uuid ipv4.route-table proxy.method
- connection.wait-device-timeout ipv4.routing-rules proxy.pac-script
- connection.zone ipv6.addresses proxy.pac-url
- gw4 ipv6.addr-gen-mode slave-type
- hostname.from-dhcp ipv6.dhcp-duid tc.qdiscs
- hostname.from-dns-lookup ipv6.dhcp-hostname tc.tfilters
- hostname.only-from-default ipv6.dhcp-hostname-flags type
- hostname.priority ipv6.dhcp-iaid
- ifname ipv6.dhcp-send-hostname
- [root@localhost network-scripts]# nmcli connection add ipv4.addresses 10.0.0.10/24
- Error: 'type' argument is required.
- [root@localhost network-scripts]# nmcli connection add ipv4.addresses 10.0.0.10/24 type
- 6lowpan bond-slave gsm ovs-dpdk tun wifi-p2p
- 802-11-olpc-mesh bridge infiniband ovs-interface veth wimax
- 802-11-wireless bridge-slave ip-tunnel ovs-patch vlan wireguard
- 802-3-ethernet cdma macsec ovs-port vpn wpan
- adsl dummy macvlan pppoe vrf
- bluetooth ethernet olpc-mesh team vxlan
- bond generic ovs-bridge team-slave wifi
- [root@localhost network-scripts]# nmcli connection add ipv4.addresses 10.0.0.10/24 type ethernet
- Connection 'ethernet' (274b3b01-77fa-473b-813e-99fc607a29b5) successfully added.
- [root@localhost network-scripts]# nmcli con show
- NAME UUID TYPE DEVICE
- ens160 e0b161b0-4cbe-4b73-ba39-f96e64e39bf7 ethernet ens160
- virbr0 528c78bd-d167-4570-b3b5-d681e5343d36 bridge virbr0
- ethernet 274b3b01-77fa-473b-813e-99fc607a29b5 ethernet --
- [root@localhost network-scripts]# mount /dev/sr0 /mnt
- mount: /mnt: WARNING: device write-protected, mounted read-only.
- [root@localhost network-scripts]# ls /mnt/
- AppStream EFI extra_files.json images media.repo RPM-GPG-KEY-redhat-release
- BaseOS EULA GPL isolinux RPM-GPG-KEY-redhat-beta TRANS.TBL
- [root@localhost network-scripts]#
- [root@localhost network-scripts]# history
- 1 tar -cvzf /root/archive.tgz /etc
- 2 ls -l
- 3 tar -tvf archive.tgz
- 4 cat /etc/dnsmasq.conf | sed '/^$/d' | sort
- 5 cat /etc/dnsmasq.conf | sed '/^$/d' | sort > /var/tmp/dnslines.txt
- 6 useradd bob
- 7 mkdir /root/usersfiles; find / -user bob -exec cp {} /root/userfiles/ \;
- 8 mkdir /root/userfiles; find / -user bob -exec cp {} /root/userfiles/ \;
- 9 ls userfiles/
- 10 ls -Ra userfiles/
- 11 dnf install -y git
- 12 vim countdown
- 13 ./countdown 12
- 14 ls -l
- 15 chmod +x countdown
- 16 ./countdown 12
- 17 less /etc/passwd
- 18 id bob
- 19 su - bob
- 20 id student
- 21 visudo
- 22 vim /etc/login.defs
- 23 passwd bob
- 24 grep bob /etc/shadow
- 25 vim /etc/login.defs
- 26 useradd whoeve3r
- 27 passwd whoeve3r
- 28 tail -5 /etc/shadow
- 29 ls /etc/skel
- 30 ls -a /etc/skel
- 31 ls -a /home/bob
- 32 passwd --help | less
- 33 passwd -l bob
- 34 tail -5 /etc/shadow
- 35 chage --help
- 36 chage -l bob
- 37 groupadd dudes
- 38 usermod -aG dudes bob
- 39 id bob
- 40 grep bob /etc/passwd
- 41 grep bob /etc/group
- 42 id bob
- 43 passwd -S
- 44 passwd -S bob
- 45 vim /etc/ssh/sshd_config
- 46 ls -l /home
- 47 ls -l /etc/hosts
- 48 mkdir -p /data/sales
- 49 cd /data
- 50 ls -l
- 51 groupadd sales
- 52 usermod -aG sales bob
- 53 id
- 54 chgrp sales /data/sales
- 55 ls -l
- 56 chmod 770 sales
- 57 ls -l
- 58 history
- 59 cd
- 60 useradd linda
- 61 cd /home/linda
- 62 vim runme
- 63 chmod +x runme
- 64 su - linda
- 65 chmod u+s runme
- 66 ls -l
- 67 find / -perm /4000 2>/dev/null
- 68 find / -perm /4000 -exec ls -l {} \; 2>/dev/null
- 69 ls -l /etc/shadow
- 70 #find / -perm /4000 -exec ls -l {} \; 2>/dev/null
- 71 pwd
- 72 touch removeme
- 73 su - linda
- 74 touch writeme
- 75 su - linda
- 76 cd
- 77 ./countdown 12
- 78 man find
- 79 find / -perm /6000 -exec ls {} \;
- 80 find / -perm /6000 -exec ls -l {} \;
- 81 for i in find / -perm /4000;
- 82 find / -perm /6000 -exec ls -l {} \;
- 83 find / -perm /6000
- 84 for i in find / -perm /4000 2>/dev/null; do ls -l $i; done
- 85 for i in $(find / -perm /4000); do ls -l $i; done
- 86 strace -c for i in $(find / -perm /4000); do ls -l $i; done
- 87 strace -c "for i in $(find / -perm /4000); do ls -l $i; done"
- 88 vim countdown
- 89 ./countdown 1
- 90 vim countdown
- 91 ./countdown 5
- 92 vim countdown
- 93 history
- 94 strace -f /bin/bash -c 'for i in $(find / -perm /4000); do ls -l $i; done'
- 95 strace -c -f /bin/bash -c 'for i in $(find / -perm /4000); do ls -l $i; done'
- 96 strace -c find / -perm /6000 -exec ls -l {} \;
- 97 strace -c -f /bin/bash -c 'for i in $(find / -perm /4000); do ls -l $i; done'
- 98 strace -c -f find / -perm /6000 -exec ls -l {} \;
- 99 grep sales /etc/group
- 100 useradd -aG sales linda
- 101 usermod -aG sales linda
- 102 grep sales /etc/group
- 103 cd /data
- 104 ls -l
- 105 su - bob
- 106 su - linda
- 107 chmod g+s sales
- 108 ls -l
- 109 su - bob
- 110 su - linda
- 111 chmod +t /data/sales
- 112 ls -l
- 113 su - linda
- 114 chown linda sales
- 115 ls -l
- 116 su - linda
- 117 history
- 118 cd
- 119 ./countdown 10
- 120 vim countdown
- 121 ./countdown 10
- 122 groupadd students
- 123 groupadd profs
- 124 vim /etc/login.defs
- 125 groupadd -G students lisa
- 126 useradd -G students lisa
- 127 usermod -aG students linda
- 128 useradd -G profs anna
- 129 useradd -G profs anouk
- 130 mkdir -p /data/profs /data/students
- 131 cd /data
- 132 chgrp students students
- 133 chgrp profs profs
- 134 chmod 3770 profs
- 135 chmod 3770 students/
- 136 ls -l
- 137 chown anna students/
- 138 chown anna profs
- 139 ls -l
- 140 cd
- 141 ./countdown 13
- 142 lsblk
- 143 poweroff
- 144 man find
- 145 useradd --help
- 146 passwd --help
- 147 lsblk
- 148 fdisk /dev/sda
- 149 lsblk
- 150 mkfs.xfs /dev/sda3
- 151 mkdir /files
- 152 vim /etc/fstab
- 153 mount -a
- 154 vim /etc/fstab
- 155 mount -a
- 156 lsblk
- 157 mount
- 158 mount | wc
- 159 mount | grep '^/'
- 160 lsblk
- 161 history
- 162 man test
- 163 vim hintscript.sh
- 164 chmod +x hintscript.sh
- 165 ./hintscript.sh
- 166 vim hintscript.sh
- 167 lsblk
- 168 df -h
- 169 dd if=/dev/zero of=/root/diskfile.img bs=1M count=8192
- 170 du -h diskfile.img
- 171 losetup -fP diskfile.img
- 172 losetup -a
- 173 fdisk -l /dev/loop0
- 174 lsblk
- 175 xxd -l 512 /dev/sda | less
- 176 fdisk /dev/sda
- 177 fdisk -l /dev/sda
- 178 cat /proc/partitions
- 179 reboot
- 180 cat /proc/partitions
- 181 mkdir /xfsfiles
- 182 mkdir /ext4files
- 183 mkfs.xfs /dev/sda5
- 184 mkfs.ext4 /dev/sda6
- 185 vim /etc/fstab
- 186 mount -a
- 187 lsblk
- 188 fdisk /dev/sda
- 189 vim /etc/fstab
- 190 reboot
- 191 fdisk -l /dev/sda
- 192 touch aa
- 193 mount -o remount,rw /
- 194 history
- 195 vim /etc/fstab
- 196 reboot
- 197 blkid
- 198 vim /etc/fstab
- 199 tune2fs -L cow /dev/sda5
- 200 blkid
- 201 vim /etc/fstab
- 202 reboot
- 203 xxd -l 512 /dev/sda
- 204 cat /dev/sda | less
- 205 mkfs.ext4 --help | less
- 206 xfs_admin --help
- 207 tune2fs --help
- 208 cd /data
- 209 ls -l
- 210 su - anna
- 211 man setfacl
- 212 setfacl -R -m g:profs:rX students
- 213 ls students/
- 214 ls students/ -l
- 215 ls -l
- 216 getfacl students/
- 217 getfacl students/student1
- 218 su - anna
- 219 getfacl students/newfile
- 220 ls -lZ
- 221 setfacl -m d:g:profs:rx students
- 222 getfacl students/
- 223 su - anna
- 224 getfacl students/newfile2
- 225 history
- 226 sleep 180; /root/countdown 12
- 227 history
- 228 df -h
- 229 poweroff
- 230 lsblk
- 231 fdisk /dev/sdb
- 232 lsblk
- 233 pvcreate --help
- 234 pvcreate /dev/sdb1
- 235 pvs
- 236 vgcreate --help | less
- 237 vgcreate -s 8M vgdata /dev/sdb1
- 238 man lvcreate
- 239 lvcreate -L 1G -n lvdata vgdata
- 240 pvs
- 241 vgs
- 242 lvs
- 243 mkfs.xfs /dev/vgdata/lvdata
- 244 mkdir /lvdata
- 245 vim /etc/fstab
- 246 mount -a
- 247 mount
- 248 tail -1 /etc/fstab
- 249 ls -l /dev/vgdata/lvdata /dev/mapper/vgdata-lvdata
- 250 history
- 251 df -h
- 252 lvs
- 253 vgs
- 254 vgextend --help | less
- 255 vgextend rhel /dev/sdb2
- 256 vgs
- 257 lvextend --help | less
- 258 lvextend -r -l +100%FREE /dev/rhel
- 259 lvextend -r -l +100%FREE /dev/rhel/root
- 260 df -h
- 261 lvs
- 262 vgs
- 263 pvs
- 264 lvdisplay
- 265 lvs
- 266 history
- 267 ./countdown 15
- 268 dd if=/dev/sr0 of=/rhel8.iso bs=1M
- 269 df -h
- 270 mkdir /repo
- 271 vim /etc/fstab
- 272 mount -a
- 273 mount
- 274 cd /repo
- 275 ls
- 276 cd BaseOS/
- 277 ls
- 278 ls Packages/
- 279 cd /
- 280 lsblk
- 281 yum repolist
- 282 cd /etc/yum.repos.d/
- 283 ls
- 284 cat redhat.repo
- 285 rm -f *.repo
- 286 vim base.repo
- 287 vim appstream.repo
- 288 yum repolist
- 289 yum search nmap
- 290 yum install nmap-ncat
- 291 yum provides */yum-config-manager
- 292 man yum.conf
- 293 yum module list
- 294 yum module provides podman
- 295 yum module info container-tools
- 296 yum module info postgress
- 297 yum module info postgres
- 298 yum module info postgresql | less
- 299 yum module list postgresql
- 300 yum module install postgresql:9.6/client
- 301 yum install httpd
- 302 ls -l $(which yum) $(which dnf)
- 303 cd
- 304 ./countdown 15
- 305 lslbk
- 306 lsblk
- 307 history
- 308 ip a
- 309 ip route
- 310 cat /etc/resolv.conf
- 311 ping 8.8.8.8
- 312 ping nu.nl
- 313 man ifconfig
- 314 ip addr add dev ens160 10.0.0.10/24
- 315 ip a
- 316 ifconfig
- 317 ifconfig --all
- 318 ifconfig -a
- 319 ifconfig /all
- 320 rpm -qf $(which ifconfig)
- 321 yum remove net-tools
- 322 ip route del default via 192.168.29.2
- 323 ip route show
- 324 ping 8.8.8.8
- 325 ip route add default via 192.168.29.1
- 326 ping 8.8.8.8
- 327 ip route
- 328* ip route del default via 192.168.29.
- 329 ip route add default via 192.168.29.2
- 330 ping 8.8.8.8
- 331 ip a
- 332 systemctl status NetworkManager
- 333 cd /etc/sysconfig/network-scripts/
- 334 ls
- 335 vim ifcfg-ens160
- 336 nmtui
- 337 ip a
- 338 ping 8.8.8.8
- 339 ping nu.nl
- 340 nmtui
- 341 nmcli connection show
- 342 nmcli connection add ipv4.addresses 10.0.0.10/24
- 343 nmcli connection add ipv4.addresses 10.0.0.10/24 type ethernet
- 344 nmcli con show
- 345 mount /dev/sr0 /mnt
- 346 ls /mnt/
- 347 history
Advertisement
Add Comment
Please, Sign In to add comment