There are better ways to shut down and reboot your BeagleBone than simply unplugging it. Unceremoniously unplugging your BeagleBone is the equivalent of shutting down your computer by pressing the power button or even removing its power source, which sometimes leads to complications such as file corruption.

To shut down your BeagleBone, simply type this command on the command line:

debian@beaglebone:~$ <b>sudo shutdown -h now</b>

You see the following information after you use the shutdown command:

Broadcast message from root@beaglebone (pts/0) (Thu Jul 3 18:50:09 2014):
The system is going down for system halt NOW!
debian@beaglebone:~$

To reboot, type this:

debian@beaglebone:~$ <b>sudo reboot</b>

This is the result:

Broadcast message from root@beaglebone (pts/0) (Thu Jul 3 18:44:29 2014):
The system is going down for reboot NOW!

You need to log in again through secure shell (SSH) after rebooting.

About This Article

This article can be found in the category: