Skip to Content
SAMS Teach Yourself Red Hat® Fedora™ 4 Linux® All in One
book

SAMS Teach Yourself Red Hat® Fedora™ 4 Linux® All in One

by Aron Hsiao
July 2005
Beginner
720 pages
18h 15m
English
Sams
Content preview from SAMS Teach Yourself Red Hat® Fedora™ 4 Linux® All in One

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.
Start your free trial

You might also like

A Practical Guide to Fedora™ and Red Hat® Enterprise Linux®

A Practical Guide to Fedora™ and Red Hat® Enterprise Linux®

Mark G. Sobell

Publisher Resources

ISBN: 0672327074Purchase book