On applying commands to groups of lines from stdin. Bash is the default interactive shell on most Linux distributions and macOS, yes. In the previous post, we talked about bash functions and how to use them from the command line directly, and we saw some other cool stuff. For every variable it has identified, it replaces the variable name with its value. The variable is greater than 10. if..else Statement # The Bash if..else statement takes the following form: Unix & Linux: How to inline expand wildcard in bash?Helpful? 12. site design / logo © 2021 Stack Exchange Inc; user contributions licensed under cc by-sa. You can specify multiple shortcuts separated by commas. Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter. I also find that just typing any complex if then else command, hit enter, and then after it executes just hit the up arrow. One example is as follows. Well that was easy... :) Now I feel kinda awkward for asking that.