[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: .bash_profile not being processed



Santiago Vila Doncel dixit:

> On Wed, 2 Dec 1998, Lindsay Allen wrote:
> 
> > [...]
> > When I rename .bash_profile to .bash_login nothing changes, but when I
> > change its name to .profile it does get processed during login and I get
> > root's correct path. 
> 
> Are you sure that /bin/bash is your login shell for root and not /bin/sh?
> 

What's the difference between naming the file .bash_profile, .bash_login, or
.profile?
BTW, I copied the /root/.bash_profile into /home/user/.bashrc, but
still user does not profit from the same changes than root, why?  may be
anything to do with my /home/user/.bash_profile?

----- my ~/.bashrc -----

# ~/.bashrc: executed by bash(1) for non-login shells.

export PS1='\h:\w\$ '
umask 022

# You may uncomment the following lines if you want `ls' to be colorized:
export LS_OPTIONS='--color=auto'
eval `dircolors`
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
alias l='ls $LS_OPTIONS -lA'
alias lss=' ls $LS_OPTIONS -laps --color=always | less -r'



----- my /home/user/.bash_profile -----

# ~/.bash_profile: executed by bash(1) for login shells.

umask 002



-- 
Un saludo,

Horacio
------------------------
homega@vlc.servicom.es
------------------------


Reply to: