On Tue, Sep 11, 2001, Dr . Sharukh K . R . Pavri . wrote:
> USM Bish [Tue Sep 11, 2001 at 06:09:57PM +0530]:
> >
> > This may be a distro specific quirk, just do a cp of your
> > .bash_profile to .bashrc, and it is likely to work ...
> >
>
> Many thanks that worked, I just added the aliase to .bashrc;
> but why does it work like this such that in console a
> different file is sourced than when in X ?
>
---end quoted text---
This depends upon the way bash is compiled. If --norc option is
not set, for non login-in shells (like xterm, rxvt and kterm)
the file which gets read is ".bashrc". This would work for
terminal as well even if it is a login shell or otherwise,
because that is how your distro has been compiled ...
Bish
:
####[ Linux One Stanza Tip (LOST) ]###########################
Sub : IDE device names in Linux LOST #084
IDE devices (HDD/ CDROM) Linux names
1. Primary master /dev/hda
2. Primary slave /dev/hdb
3. Secondary master /dev/hdc
4. Secondary Slave /dev/hdd
####<[EMAIL PROTECTED]>#######################
:
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help