News

Learning Bash is really useful, especially if you want to unlock the full power of a Unix or Linux system. Here are some of the most compelling reasons to look at Bash scripting as something to learn.
Developing scripts to handle your more complicated tasks can make your efforts on the Linux command line considerably easier and more reliable – at least once the scripts are written and tested.
In the examples directory, you can even see how to embed gum inside things like Python or Ruby. Sure, there are tools like dialog, and for more advanced scripts, you might need that.
It used to be one of the joys of writing embedded software was never having to deploy shell scripts. But now with platforms like the Raspberry Pi becoming very common, Linux shell scripts can be a ...
The Moving Parts of I18N in Bash Building on the fundamentals outlined above, let's move onto a real example. This section demonstrate how I18N and Localization are supported and applied in a bash ...
Many bash scripts use arguments to control the commands that they will run and the information that will be provided to the people running them. This post examines a number of ways that you can ...
This article is excerpted from Chapter 7 of my book Linux Programming by Example: The Fundamentals, published by Prentice Hall (ISBN: 0-13-142964-7). Chapters 1 through 6 cover the standard APIs for ...
Common errors with for loops One of the most common errors when using scripts bash on GNU/Linux is to read a file line by line by using a for loop (for line in $ (cat file.txt) do. ..). In this ...