Cannot find .bash_profile in my home directory

Possible duplicate:
How to find .bash_profile and add to my shell initialization file?

I can not find this file: .bash_profile. I am trying to update ruby ​​through rvm and I need to add rvm to every new shell window that opens. But I can not find .bash_profile anywhere on my system.

+4
source share
1 answer

This is a simple shell script, just create it and fill it with the desired content.

man bash describes for what (initialization) Bash files it looks, under what circumstances and in what order it does it for your specific version of Bash.

+4
source

Source: https://habr.com/ru/post/1342741/


All Articles