Chapter Summary

The Z Shell implements nearly all the features of the Bourne Again Shell, as well as the most useful features of the TC Shell. You can customize the Z Shell to create a personal interactive environment by choosing settings for options and values for variables and by defining aliases and functions.

You assign attributes to Z Shell variables with the typeset builtin. The Z Shell provides operators to perform pattern matching on variables, provide default values for variables, and evaluate the length of the value of variables. The Z Shell supports array variables and local variables for functions and provides built-in integer arithmetic capability, using the let builtin and an expression syntax similar to the C programming language. ...

Get A Practical Guide to Red Hat® Linux® 8 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.