Help - Search - Members - Calendar
Full Version: .bash_profile
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > Angstrom & OpenZaurus
Arrummzen
Were do I put my .bash_profile on OZ? I donwloaded and installed the bash ipkg. I tried /root but it doesnt seem to work. Also is there any way I can get OPIE Terminal to load bash and not ash?

Thank you for your time,
Arrummzen
PhantomsDad
The file name is .profile, not .bash_profile. Put it into the $HOME directory of the user. For root, that would be /root. You can also create a .bashrc file. .profile only gets invoked when you first log into the Z. What I typically do is put the following code into .profile:

if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

then you are covered either way.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.