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 ...
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 ...
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 ...
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 don't love the shell you're using on your Linux system, change it! There are plenty, including bash, fish, ksh, tcsh, zsh. There are quite a few shells on Linux system and more that can be ...
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 ...
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 ...