Advertisement
sandervanvugt

RHCSA day2 nov2022

Nov 8th, 2022
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. 155 mkfs.ext4 /dev/sda5
  2. 156 mkfs.xfs /dev/sda6
  3. 157 mkdir /ext4 /xfs
  4. 158 vim /etc/fstab
  5. 159 vim /etc/default//grub
  6. 160 grub2-mkconfig -o /boot/grub2/grub.cfg
  7. 161 reboot
  8. 162 journalctl -xb
  9. 163 lsblk
  10. 164 vim /etc/fstab
  11. 165 history
  12. 166 poweroff
  13. 167 cat /etc/fstab
  14. 168 lsblk
  15. 169 vim /etc/fstab
  16. 170 lsblk
  17. 171 fdisk /dev/sdc
  18. 172 blkid
  19. 173 vim /etc/fstab
  20. 174 findmnt --verify
  21. 175 vim /etc/fstab
  22. 176 findmnt --verify
  23. 177 vim /etc/fstab
  24. 178 swapon -a
  25. 179 vim /etc/fstab
  26. 180 history
  27. 181 findmnt --verify
  28. 182 reboot
  29. 183 exit
  30. 184 which init
  31. 185 ls -l /sbin/init
  32. 186 date
  33. 187 hwclock --systohc
  34. 188 timedatectl status
  35. 189 timedatectl list-timezones
  36. 190 timedatectl set-timezone Africa/Lusaka
  37. 191 timedatectl status
  38. 192 vim /etc/chrony.conf
  39. 193 systemctl restart chronyd
  40. 194 chronyc sources
  41. 195 history
  42. 196 exit
  43. 197 history
  44.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement