Login Scripts

  • Login Scripts are shell scripts getting executed at login.
  • Linux has a number of scripts that are being executed.
    • The /etc/profile - is known as the system wide intialization script.
    • The /etc/bashrc - since linux uses bash as its default shell, this script get executed next.
    • The $HOME/.bash_profile - known as user specific login script, will get executed when a user logs in with a bash shell.
    • The $HOME/.bashrc - used for new shell initialization, gets executed whenever a new bash shell is opened.

0 comments:

Post a Comment