Results 1 to 3 of 3
Hello all,
I've been digging around the doc's, manpages, etc..etc.., but I can't seem to find what I'm looking for. In Slackware-11, by default, there is no /etc/bashrc , /etc/bash_profile ...
- 01-01-2007 #1Just Joined!
- Join Date
- Sep 2005
- Location
- Nowhere and Everywhere
- Posts
- 98
A few questions about "bashrc"????
Hello all,
I've been digging around the doc's, manpages, etc..etc.., but I can't seem to find what I'm looking for. In Slackware-11, by default, there is no /etc/bashrc, /etc/bash_profile, and no ~/.bashrc. The only file like these available in Slack is "/etc/profile". Now in every tutorial I've read so far it says to put this in ~/.bashrc...Does this mean that I need to create an /etc/bashrc file, or can I just ommit that line in my newly created ~/.bashrc ???Code:if [ -f /etc/bashrc ]; then . /etc/bashrc fi
Another question, what does this mean???Also, if I wanted to change my CFLAGS or CXXFLAGS, would I put that in "/etc/bashrc" or in "/etc/profile" ???Code:export MINICOM="-c on"
- 01-01-2007 #2
You don't have to create an /etc/bashrc. The file is read if it exists and if its not there, there is no problem.
Is the minicom command not supposed to be
According to the manual, using the -c flag enables colouring in the minicom program.Code:export MINICOM="minicom -c on"
- 01-01-2007 #3Linux Enthusiast
- Join Date
- Jun 2005
- Posts
- 668
Originally Posted by southpaw
You'd put an executable script with the required commands in, in /etc/profile.d/ and it would be sourced with every user login automatically.
better than editing /etc/profile directly as this might get overwritten with new packages during upgrades etc.


Reply With Quote
