O'Reilly logo

From Bash to Z Shell: Conquering the Command Line by Peter Stephenson, Jerry Peek, Oliver Kiddle

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

CHAPTER 5Starting the Shell

In this chapter, we're going to talk about what happens when you start the shell. This may not sound very complicated, but you'll need to know how the shell starts in order to understand how you can change the shell's settings. We'll explain how you can configure the shell so that it starts up with the settings you want to use. We'll also show you how to influence the shell when you invoke it by name.

A large portion of this chapter deals with the shell's startup files, which is where you put commands to configure the shell. We'll show some of the things you put in there, and we'll introduce shell options, which are an important way of controlling the shell. Setting options is an essential use of startup files.

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