Bash profile on Ubuntu

2024-01-23 linux

For Ubuntu, there is already .profile. So if you want to add custom settings on .bash_profile, that is maybe good idea.

if [ -f ~/.profile ]; then
    . ~/.profile
fi

export FOO=bar