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:

[email protected]:~$ sudo shutdown -h now

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

Broadcast message from [email protected] (pts/0) (Thu Jul 3 18:50:09 2014):
The system is going down for system halt NOW!
[email protected]:~$

To reboot, type this:

[email protected]:~$ sudo reboot

This is the result:

Broadcast message from [email protected] (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 is from the book:

About the book author:

Sandra Hardin Gookin serves as a parenting expert for Parents Magazine and Working Mother Magazine.

Dan Gookin wrote the international bestseller DOS For Dummies. They have four sons.

This article can be found in the category: