News

Now that we know how for loops, while read loops, $(), and variables all work, let's look at one real-world example of how I use them in daily practice—deleting a range of ZFS snapshots.
When preparing scripts that will run in bash, it’s often critical to be able to set up numeric variables that you can then increment or decrement as the script proceeds. The only surprising part ...
But I believe $ () is a BASH only, where as back ticks is pretty much universal. I was using back ticks in my old AIX Korn shells and Solaris Borne shells back in the early 1990s.