FreeBSD or BSD reboot and shutdown system

Posted on in Categories last updated August 27, 2006

Q. How do I reboot or shutdown BSD (FreeBSD) based system. Command shutdown -h 0 is not working for me.

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

Task: Shutdown BSD

Use shutdown command to close down the system at a given time. Type following command to shutdown system immediately:
# shutdown -h now
# halt

Task: Reboot BSD system

Type the following command:
# reboot
# shutdown -r now

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

4 comment

Leave a Comment