bashrc and bash_profile

.bash_profile

This file each time a login happens.

.bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
    . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH

.bashrc

This file loads everytime we start a new bash session.

.bashrc
# .bashrc

# User specific aliases and functions

alias login='kubectl exec -it'

Last updated

Was this helpful?