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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-01-2007 #1
- Join Date
- Sep 2005
- Nowhere and Everywhere
A few questions about "bashrc"????
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...Code:
if [ -f /etc/bashrc ]; then . /etc/bashrc fi
Another question, what does this mean???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
export MINICOM="minicom -c on"
- 01-01-2007 #3
Originally Posted by southpaw
- Join Date
- Jun 2005
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.