O'Reilly logo

A Practical Guide to Red Hat® Linux® 8 by Mark G. Sobell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required