Z Shell Basics

If you want to use the Z Shell as your login shell, run chsh and specify the path /bin/zsh as described in “Entering and Leaving the TC Shell” (page 683). Alternatively, Superuser can set up the /etc/passwd file toward the same end.

The basic behavior of the Z Shell mimics that of the other shells: You type a command that names an executable program or script, optionally followed by arguments that are interpreted by the command. You can correct mistakes as described on page 37 before you press the RETURN key. You can also use the Z Shell's powerful command line editing (page 791) and history editing (page 795) facilities to create and modify command lines.

Like bash and tcsh, zsh evaluates variables, searches for aliases and functions, ...

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.