I have done some ‘source file’ at the current bash shell and want that file to be sourced to every shell that is created. How can this be done?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.