Generally shutdown -r now is safer.
In most of the unix distributions they perform exactly the same actions except for Mac OSX. On Mac OSX reboot performs an instant reboot. There is no unmounting and no syncing. So, to avoid headaches, play safe and do not use reboot.
Syntax of shutdown command:
To reboot the system right now safely write:
shutdown -r now
In most of the unix distributions they perform exactly the same actions except for Mac OSX. On Mac OSX reboot performs an instant reboot. There is no unmounting and no syncing. So, to avoid headaches, play safe and do not use reboot.
Syntax of shutdown command:
shutdown [OPTION] [TIME] [MESSAGE]
To reboot the system right now safely write:
shutdown -r now