O'Reilly logo

BeagleBone Essentials by Rodolfo Giometti

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing an LED in Bash

Both Python and PHP languages are very powerful, and they can be used to solve a lot of complex problems; however, it may happen that the embedded system lacks both. In this case, we can use the C language or, if we like scripting, we can try to use Bash.

In fact, even if the Bash scripting language is commonly used to solve the system administrator's tasks, it can be also used to resolve several issues with some tricks. So, let's see how we can use it in our web LED management problem.

By default, Bash has no networking features; however, as a workaround, we can use the inetd daemon. This tool is a network daemon program that specializes in adding networking features to programs that normally don't have these features. Its ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required