June 2000
Beginner
704 pages
14h 55m
English
Displaying environment variables with the printenv command
Customizing your login
Creating aliases
Using the linuxconf utility
The shell specified in your /etc/passwd entry runs after you log in to Linux. Your shell then loads several files located in different directories on your system. These files, called resource, profile, or login files, are located in your home directory and the /etc directory. For the default Linux shell, bash, these files include the following:
/etc/profile—Contains systemwide environment settings. This is the first file the shell looks for when you log in. This file sets environment variables such as the path for every user on the system.
.bash_profile, .bash_login, or .profile—These ...
Read now
Unlock full access