How to set the current shell settings to every shell i a bash?
I have done some 'source file' at the current bash shell and want that fil开发者_开发技巧e to be sourced to every shell that is created. How can this be done?
Add an entry in your .bashrc file. If one doesn't exist, go to your home directory and create one with your favorite text editor.
For more info on the .bashrc file and what it can do, check out this site. Also, read the man bash page for an exhaustive amount of detail.
精彩评论