Supondo que seu shell de login é bash, você pode começar a procurar nos seguintes arquivos: /etc/profile , ~/.bashrc e ~/.bash_profile . Se você invocar o bash de outro shell, talvez seja necessário verificar quais variáveis o outro shell define.