reboot command means Restart your machine gently. How do I reboot my Linux based system or remote Linux Server?
Syntax
reboot [OPTION]…
On the man page, the describes it
- reboot – reboot or stop the system.
- man reboot – More details information about reboot command.
reboot command in Linux with Examples
$ sudo reboot
reboot command within the last six minutes of TIME
$ sudo shutdown -r +6
How to identify the location reboot command in Linux.
[vagrant@localhost ~]$ which reboot /usr/sbin/reboot
I will reboot the remote Linux Server with the following command as the below
$ ssh root@remote[IP]-server /usr/sbin/reboot
Conclusion
reboot command is the simple command in Linux. It is the most popular in use terminal Linux reboot or stops the system. Thank you for reading the DevopsRoles page!