Builtins
The Z Shell provides a much richer set of builtins—for option processing, I/O, control flow, and control of the user's environment—than either the Bourne Again or TC Shells. This section focuses on the builtins not covered previously.
Control Structures
Whereas this book refers to a control structure or control flow command, the Z Shell documentation refers to a complex command. This chapter will stay with the term control structure or control flow command for consistency with the rest of the book. The control flow commands are used primarily for shell programming, although they can also be useful in interactive work. The Z Shell control structures that control the process flow are if…then, for…in, while, case, until, repeat, and select. ...
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