In this post we will cover a few odds and ends of variables in bash scripting. Specifically local variables, variable expansion, and variable arrays. With the information presented in this series of posts, you should be able to write some bash shell scripts that can assist you in a variety of tasks. (more…)
Today we will take a look at how to use functions in bash scripts. This is important, because functions in bash perform a little differently than in other programming languages. (more…)
In this installment we are going to up the complexity a little. We will be collecting input from the user while the script is running, and introducing a couple of new structures (while loop and case). (more…)
In this installment, we will be looking at passing data to a shell script using command line arguments. These are arguments that are added when you execute a shell script, and can be pulled into the script. (more…)
This is the first post in a series of posts on shell scripting. The purpose of this series is to familiarize you with the shell and writing your own scripts . However we cannot dive directly into writing scripts without a little background information first. (more…)
Next Page »