O'Reilly logo

Korn Shell: Unix and Linux Programming Manual, Third Edition, The by Anatole Olczak

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

After You Log In

After you login, the Korn shell performs a number of actions before it displays the command prompt. Usually it first looks for /etc/profile. If it exists, it is read in and executed. The /etc/profile file contains system-wide environment settings, such as a basic PATH setting, a default TERM variable, the system umask value and more. The Korn shell then reads and executes $HOME/.profile. This file contains your local environment settings, such as your search path, execution options, local variables, aliases, and more. A sample profile file is included in Appendix A.

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