What is the exact command to restart a RedHat linux system?
To restart your machine just use
reboot
All the services that are configured to start will be started as usual.
Maybe I'm not understanding the question, but assuming you have root (or sudo
) privileges, then /sbin/reboot
(or /sbin/shutdown -r now
) will perform a full system reboot.
Not sure if this helps to you (provided I got you right). I believe you want to reboot remote linux machine.
Make sure you have root access and then run below command.
ssh root@destination_server_to_be_rebooted reboot