RHEL Commands
RHEL Commands
BIOS/UEFA
MBR ##################Master Boot record
GRUB2 ##################Grand unified boot loader
Kernel ##################
init ##################used in older release whereas systemd is
used in RHEL7 & above
runlevel ################## runlevel 0 will shutdown system ...... 5
for reboot in graphical mode..... 6 is used to reboot the system
Password age
chage -M <days> <user>
cat /etc/passwd
Runlevel
init 6 ############# reboot
init 0 ############# system shutdown
chkconfig --list ################# to check which service will run on which level
chkconfig --list <Service Name> ################# to check specific service will
run on which level
chkconfig <service name> off ################# to disable service from starting
after reboot
chkconfig <service name> on ################# to enable service from starting after
reboot
chkconfig <service name> --level <runlevel> off ############### to disable specific
service to start in specific run level
chkconfig <service name> --level <runlevel> on ############### to enable specific
service to start in specific run level