News

PowerShell has made it dead simple to automate all kinds of things. However, its simplicity can be deceiving. PowerShell takes the complexity out of script writing but unless you're writing a ...
Wouldn't it be cool if PowerShell could automatically write scripts so that you didn't have to? Believe it or not, it is possible. Of course the old saying that if something sounds too good to be ...
Shell scripting is one of those skills that are absolutely invaluable on especially UNIX and BSD-based systems like the BSDs, the two zillion Linux distributions as well as MacOS. Yet not every ...
To avoid errors, it's important to write PowerShell scripts that prevent code from running on an unintended platform. Luckily, this is easier to do than it sounds.
Do you find yourself rewriting scripts because it's easier than finding or modifying your old ones? Do you find yourself spending far too much time reworking scripts when you need to make what ...
Many people jump into PowerShell and immediately think they need to start writing scripts. That couldn't be further from the truth, and actually I believe that can be counter-productive. Without a ...
Wicked Cool Shell Scripts: 101 Scripts for Linux, OS X, and Unix Systems by Dave Taylor and Brandon Perry, 2 nd edition, no starch press (2017) is a book that can lift you up a notch in the super ...
If you are writing serious bash scripts, we suggest you write them carefully. You can even find a “ lint ” program that can test for errors for you.
I have a request for you shell hackers out there. I would like to do a pattern match & rename on a large number of files, and need some help figuring out how to do it. The deal is, I have a huge ...
At times, we need to write shell scripts that are interactive and user executing them need to monitor the progress. For such requirements, we can implement a simple progress bar that gives an idea ...