Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bash-profile]

The tag has no usage guidance.

17
votes
4answers
37k views

Completely restart Bash

Is there a way to completely restart Bash and reload .bashrc and .profile and the like? I'd like to make sure my changes worked out properly after editing these files.
1
vote
1answer
50 views

Is it a good practice to make different configuration files as symlinks to some scripts under the same directory?

I was wondering if it is a good practice to make the following configuration files as symlinks to some scripts under a directory e.g. ~/program_files/configurations/. The scripts /etc/rc.local, /...
0
votes
2answers
111 views

none of command works after trying to add ~/.bash_profile

I was trying to add JAVA_HOME in the path variable. I downloaded Java JDK and done following: nano ~/.bash_profile added following lines and saved the file: export JAVA_HOME=$(/usr/libexec/java_home)...