I'm working on a linux client and I need to add my home directory path to $PATH but I was unable to do that. I tried to find .bash_profile file and also .bashrc file but both are missing. Please let me know how to achieve this.
Here is a good article on understanding configuration files: http://www.ibm.com/developerworks/linux/library/l-config/index.html#4
The point is - like everyone else says:
- If it does not exist - create it.
- If process does not recognize it - restart the process.
- If it doesn't work - read the manual, may be that config file are not optional or you putted it into a wrong place (for example root user uses different configs due to home dir of root).