When Linux booting process is completed it display the login prompt. There are different process running in Linux when any user login to their shell. these processes are as follows.
Login process steps
Init starts getty process
getty process initiates login prompt on terminal
login command check user credentials from /etc/passwd
getty starts user shell process
shell reads the system wide files /etc/profile, /etc/bashrc
Shell reads user specific files .profile, .login
Now it reads shell specific configuration file .bashrc
Shell displays the default prompt