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 ...
Get SAMS Teach Yourself Red Hat® Fedora™ 4 Linux® All in One now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.