Once you’ve gained a solid understanding of Linux and mastered the various commands available, your next big win comes in the form of shell functions. Code wrapped in a function can be reused by your ...
What happens when you run a Linux command? This simple act can appear straightforward, but many different things can actually occur, depending on whether you’re running an executable program, a shell ...
Last month, I explored exit codes and how decent error correction in your shell scripts always should include testing the value of $? after each meaningful command ...
If you've been keeping track of my column, you'll know that we're building a Blackjack game as a shell script. Why? Because most shell scripts are far too boring to study without nodding off, so ...
Linux’s compgen command is not actually a Linux command. In other words, it’s not implemented as an executable file, but is instead a bash builtin. That means that it’s part of the bash executable. So ...
The Windows Subsystem for Linux is bridging the divide between Windows and Linux by letting you run Windows 10 programs directly within a Linux shell. One of the strengths of the Windows Subsystem for ...
Learn the basics of moving around in different directories from the Linux command line. Working in multiple directories from a Linux command prompt can be a pain, but these quick tips on using the cd ...