If you're working with a large amount of data in your Bash scripts, arrays will make your life a lot easier. Some people get ...
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 big ...
Here are steps you can take to ensure that your bash scripts work as intended and are easy to update. Committing routine and even rarely required tasks to scripts is almost always a big win because ...
The first software that I was actually paid to develop was a 2-page shell script that prompted the user for a dozen or so pieces of information, before launching a set of cooperating processes. Those ...
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 verify ...
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 ...