Safely reboot a Linux system
The proper method of rebooting a Linux system ensures data integrity by terminating processes and synchronizing the filesystems.
To reboot a Linux system:
shutdown -r
To reboot immediately, specify the command with the now option:
shutdown -r now





