I have been doing some reading, trying to figure out how to write my own .bashrc file so I can use my familiar aliases. From what I gather, the ~/.bashrc is user specific, and the /etc/bashrc is system wide. Is this true? I tried to make a simple file to use as an /etc/bashrc file, and the system would not read it. So I junked it. I read somewhere that you can also put the information in the /etc/profile file to make it system wide, but I am not sure if I need some header information, or it I can just add lines for aliases... Any ideas?
Asus A8V Deluxe Mobo
AMD Athlon64 X2 4400 -939
2GB Crucial DDR3200 Dual-Channel
ATi AiW 9800 Pro 128DDR
Sony DRU-810 DVD+RW DL
3 x Maxtor MaxLine SATA 160Gb 16Mb Cache
1 x Maxtor MaxLine SATA 300Gb 16Mb Cache
1 x Maxtor MaxLine SATA 120Gb 16Mb Cache
my .bashrc says:
# Source global definitions
if [ -f /etc/bashrc ]; then
so maybe you need that in there as well
although... my .bash_profile sources .bashrc in the same way
So it looks like bash_profile is loaded first.
I guess it doesn't really matter which file you put it in