Summary
In this chapter, you learned to harness the power of the Linux shell to create your own powerful, functional commands in just a few minutes using shell scripting. Specific topics you learned about in this chapter include
Creating, assigning values to, and substituting variables
Using the different types of quoting for variable and command substitution
Using the PATH environment variable as it applies to commands and shell scripts
Assigning execute permissions to your script and moving it to a directory listed in PATH so that it can be easily called
Using the if..then conditional statement structure
Using the while..do conditional statement structure
Using the for..do conditional statement structure
After you've spent some time practicing the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access