[UCLA-LUG] .bash_profile and .bashrc files
LEE,JAMES WOON
jwlee@ucla.edu
Wed, 5 Apr 2000 10:35:11 -0700 (PDT)
Why don't you try rebooting? I just put alias ls='ls -a --color' in
/etc/bashrc and .bash_profile. I didn't work when I logged out and logged
back in but it started working once I rebooted.
On Wed, 5 Apr 2000, MIng Yu wrote:
> Yes, I do completely log out of my system and relogin but it still does 't work.
> Also, I put the line alias ls="ls -a --color" in the .bash_profile and .bashrc
> under my home directory and in the /etc/bashrc file. The way it works now is that,
> I need to type bash -login to pretend that this terminal is a login shell.
> Otherwise, the terminal from the toolbar icon in neither GNOME nor KDE won't
> execute my .bash_profile and .bashrc files.
>
> Thanks.
>
> Ming
>
> Mark James Fasheh wrote:
>
> > Just curious, have you completely logged out of your system, then logged
> > back in? I don't think the bash init files are read everytime an xterm, etc
> > is run, but they should inherit anything from your main login shell (which
> > needs to be restarted to load the init files).
> > --Mark
> >
> > --
> > --------------
> > If we were meant to get up early, God would have created us with alarm clocks.
> >
> > President, UCLA LUG
> > Mark James Fasheh <mfasheh@linux.ucla.edu>
> > http://www.exothermic.org
> >
> > _______________________________________________
> > UCLALUG Linux mailing list - Linux@linux.ucla.edu
> > http://linux.ucla.edu/mailman/listinfo/linux
>
>
> _______________________________________________
> UCLALUG Linux mailing list - Linux@linux.ucla.edu
> http://linux.ucla.edu/mailman/listinfo/linux
>