O'Reilly logo

LPIC-1/CompTIA Linux+™ Certification All-in-One Exam Guide by Robb Tracy

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 Review

This chapter started by reviewing the two user interfaces provided by most Linux distributions: the command-line interface and the graphical user interface. I discussed the bash configuration files. I pointed out that there are two types of shells on a Linux system:

• Login shells

• Non-login shells

When running a login shell, /etc/profile is read first to initially configure the shell environment. The shell then searches for the following files in the user’s home directory in the following order:

• .bash_profile

• .bash_login

• .profile

The shell will read the first of these files found and use it to configure the shell environment for the current user. Different distributions will use different bash configuration files.

I then ...

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