Results 1 to 3 of 3
hello, maybe some one can help me, I have one question in my work in university about Ubuntu and I am stuck with it, the question is:
3. Modify your ...
- 06-09-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 1
Help with bash_profile
hello, maybe some one can help me, I have one question in my work in university about Ubuntu and I am stuck with it, the question is:
3. Modify your .bash_profile script so that your PATH includes the current directory (.) and so that your environment variable EDITOR is set to emacs orvi (or whatever else you prefer to use). Run the modified script using source .bash_profile and check that the changes you made have been applied to the current shell (type env).
- 06-10-2010 #2Just Joined!
- Join Date
- Jan 2009
- Location
- colachel
- Posts
- 27
open the bash_profile and set the environmet variable there.
It is located in home directory of the user
/root/.bash_profileLast edited by oz; 10-25-2011 at 02:43 PM. Reason: spam removal
- 06-10-2010 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,975
Just to clarify, most user home directories (except for the root account) are in /home, as in /home/myusername, which is where you will find files like .bash_profile, .bashrc, etc. Because they start with a dot they are usually invisible to the user. If you are using a command line interface, you can make them visible with the -a or -A option to ls. Example:
Code:[myusername@myhost ~]$ ls Docs Media tmp [myusername@myhost ~]$ ls -a . .. .bash_history Docs tmp .bash_profile Media .bashrc .mozilla
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
