Reboot And Shutdown System

Question

How can I reboot or shutdown BSD (FreeBSD) based system? (Command shutdown -h 0 is not working.)

Answer

FreeBSD or other BSD uses the shutdown or halt command to shutdown system. To reboot FreeBSD/BSD box use reboot command.

Shutdown FreeBSD

Use shutdown command to close down the system at a given time. You can type the following command to shutdown system immediately:

or

Reboot FreeBSD

Use the following command:

or

Probably you have guessed the parameter -h (halt) and -r (reboot).