Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@localhost linda]# history
- 1 history
- 2 systemctl status httpd
- 3 getenforce
- 4 grep AVC /var/log/audit/audit.log
- 5 journalctl | grep sealert
- 6 sealert -l 4b3286d7-c665-444a-8a83-7f98648061af | less
- 7 semanage port -a -t http_port_t -p tcp 82
- 8 systemctl restart httpd
- 9 systemctl status httpd
- 10 history
- 11 vim /etc/httpd/conf/httpd.conf
- 12 mkdir /web
- 13 echo hello > /web/index.html
- 14 systemctl restart httpd
- 15 curl localhost:82
- 16 getenforce
- 17 grep AVC /var/log/audit/audit.log
- 18 ls -Z /var/www
- 19 man semanage-fcontext
- 20 # semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?"
- 21 # restorecon -R -v /web
- 22 semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?"
- 23 restorecon -Rv /web
- 24 curl localhost:82
- 25 journalctl | grep sealert
- 26 sealert -l b21de9d6-4db0-46da-b1a1-4050ada199ad | less
- 27 history
- 28 reboot
- 29 dnf install -y git
- 30 git clone https://github.com/sandervanvugt/rhcsa
- 31 ls rhcsa/
- 32 showmount -e 192.168.29.160
- 33 mount 192.168.29.160:/myfiles /mnt
- 34 ls /mnt
- 35 vim /etc/fstab
- 36 yum install -y autofs
- 37 ls /etc/auto.*
- 38 vim /etc/auto.master
- 39 vim /etc/auto.misc
- 40 vim /etc/auto.master
- 41 vim /etc/auto.nfsdata
- 42 systemctl enable --now autofs
- 43 ls /
- 44 cd /nfsdata
- 45 ls
- 46 ls -a
- 47 mount
- 48 cd myfiles
- 49 ls
- 50 mount
- 51 history
- 52 vim /etc/auto.master
- 53 vim /etc/auto.ldap
- 54 vim /etc/auto.master
- 55 vim /etc/auto.ldap
- 56 systemctl restart autofs
- 57 cd /home
- 58 ls -a
- 59 cd ldap
- 60 ls
- 61 ls -a
- 62 cd ldapuser1
- 63 pwd
- 64 mount
- 65 cd ..
- 66 cd ldapuser2
- 67 cd
- 68 cd rhcsa/
- 69 ./countdown 14
- 70 vim /etc/auto.ldap
- 71 yum module install container-tools
- 72 podman run -d nginx
- 73 podman ps
- 74 vim /etc/containers/registries.conf
- 75 podman login registry.access.redhat.com
- 76 vim /etc/containers/registries.conf
- 77 podman pull registry.access.redhat.com/ubi8/ubi:latest
- 78 podman images
- 79 podman run nginx
- 80 podman run -it ubuntu
- 81 podman ps
- 82 podman run fedora
- 83 podman ps
- 84 podman ps -a
- 85 podman info
- 86 podman images
- 87 podman image inspect 7425d3a7c478
- 88 podman image inspect 7425d3a7c478 | less
- 89 podman ps
- 90 podman inspect ac77 | less
- 91 podman images
- 92 podman rmi docker.io/library/ubuntu:latest
- 93 podman run -d -p 8000:80 nginx
- 94 docker ps
- 95 curl localhost:8000
- 96 podman port -a
- 97 podman run -d mariadb
- 98 podman ps
- 99 podman ps -a
- 100 podman logs cd8
- 101 podman run -d -e MARIADB_ROOT_PASSWORD=password mariadb
- 102 podman ps
- 103 ./countdown 12
- 104 ip a
- 105 exit
- 106 ps aux | less
- 107 ssh linda@localhost
- 108 loginctl show-user linda
- 109 loginctl enable-linger linda
- 110 loginctl show-user linda
- 111 reboot
- 112 ps aux | less
- 113 rhcsa/countdown 32
- 114 ln -s /etc/hosts /tmp/myhosts
- 115 ls -l /etc/hosts /tmp/myhosts
- 116 cd /etc/skel/
- 117 touch emptyfile
- 118 pwd
- 119 vim /etc/login.defs
- 120 poweroff
- 121 find / -size +100M
- 122 find / -size +100M > /tmp/bigfiles
- 123 vgs
- 124 fdisk /dev/sda
- 125 vgextend rhel /dev/sda3
- 126 vgs
- 127 lvcreate -n lv500 -L 500M rhel
- 128 mkfs.ext3 /dev/rhel/lv500 -L myvolume
- 129 mkdir /myvol
- 130 vim /etc/fstab
- 131 findmnt --verify
- 132 mount -a
- 133 history
- 134 vgs
- 135 pvs
- 136 vim /etc/fstab
- 137 findmnt --verify
- 138 fdisk -l
- 139 df -h /boot
- 140 yum provides */seinfo
- 141 history
- 142 groupadd profs
- 143 useradd -G profs anna
- 144 mkdir -p /data/profs
- 145 chown anna:profs /data/profs
- 146 chmod 1770 /data/profs
- 147 ls -ld /data/profs/
- 148 crontab -e
- 149 tree /home/linda
- 150 cd /home/londa
- 151 cd /home/linda
- 152 ls -a
- 153 tree -h | less
- 154 tree --help | less
- 155 tree -a
- 156 ls -R .config
- 157 less /var/log/messages
- 158 history
- ###### user linda[linda@localhost ~]$ history
- 1 mkdir -p ~/.config/systemd/user
- 2 cd ~/.config/systemd/user/
- 3 podman run -d --name mynginx -p 8081:80 nginx
- 4 podman ps
- 5 podman generate -h
- 6 podman generate --help
- 7 podman generate systemd --name mynginx --files
- 8 vim container-mynginx.service
- 9 systemctl --user daemon-reload
- 10 systemctl --user enable container-mynginx.service
- 11 systemctl --user status container-mynginx.service
- 12 exit
- 13 sudo loginctl show-user linda
- 14 exit
- 15 history
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement