I'm getting into bash shell scripting with Ubuntu 8.10, and the tutorial I'm using is telling me to open the file .bash_profile which is allegedly in the home directory. However, I cannot find this file, except in /usr/share/doc/adduser/examples/adduser.local.config.examples/skel and it's called "dot.bash_profile". Plus, the whole thing is just comments.
The other file it tells me to get to is .bashrc, which I searched the entire system for, and got four files: two named bash.bashrc and two named dot.bashrc. I'm not sure which I want to add
Could someone clarify this whole situation? Thanks.
orwell84
7
Junior Poster
Recommended Answers
Jump to PostCopy the example dot.bash_profile to your home directory as .bash_profile
Then start uncommenting the bits you would like, and adding any new things you would like.
All 4 Replies
Salem
5,138
Posting Sage
orwell84
7
Junior Poster
Salem
5,138
Posting Sage
Aia
1,977
Nearly a Posting Maven
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.