Jednoduchý způsob restartování systému CentOS/Linux je pomocí reboot  příkaz.
Pro více možností zkontrolujte parametry:
root@web [~]# reboot --help
reboot [OPTIONS...] [ARG]
Reboot the system.
     --help      Show this help
     --halt      Halt the machine
  -p --poweroff  Switch off the machine
     --reboot    Reboot the machine
  -f --force     Force immediate halt/power-off/reboot
  -w --wtmp-only Don't halt/power-off/reboot, just write wtmp record
  -d --no-wtmp   Don't write wtmp record
     --no-wall   Don't send wall message before halt/power-off/reboot
root@web [~]#Chcete-li vypnout operační systém, musíte být přihlášeni jako root.
 Druhý příkaz je shutdown  . Je to podobné jako reboot  .
 Chcete-li restartovat počítač pomocí shutdown   příkaz, použijte:
shutdown -r nowChcete-li restartovat počítač v určitou dobu, použijte:
shutdown -r 02:30Chcete-li restartovat počítač po X minutách, použijte:
shutdown -r XChcete-li stroj vypnout, použijte:
shutdown -h nowChcete-li vypnout stroj v určitou dobu, použijte:
shutdown -h 02:30Chcete-li stroj vypnout po X minutách, použijte:
shutdown -h X
 Pro více možností zkontrolujte parametry pro shutdown   příkaz:
root@web [~]# shutdown --help
shutdown [OPTIONS...] [TIME] [WALL...]
Shut down the system.
     --help      Show this help
  -H --halt      Halt the machine
  -P --poweroff  Power-off the machine
  -r --reboot    Reboot the machine
  -h             Equivalent to --poweroff, overridden by --halt
  -k             Don't halt/power-off/reboot, just send warnings
     --no-wall   Don't send wall message before halt/power-off/reboot
  -c             Cancel a pending shutdown
root@web [~]#Pro více informací použijte příkazy:
man rebootman shutdown