FreeBSD or BSD reboot and shutdown system

Originally published at:

I am a new FreeBSD server user. How do I reboot or shutdown a FreeBSD based system? I tried shutdown -h 0 command. However, is not working for me on my BSD based system. How can I shutdown or reboot the server?

Linux sysadmin blog - Linux/Unix Howtos and Tutorials - Linux bash shell scripting wiki