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

Re: .bash_profile not being processed



When homega@vlc.servicom.es wrote, I replied:
> 
<snip>
> What's the difference between naming the file .bash_profile, .bash_login, or
> .profile?

.profile is read by all the shells that I know of (including bash when
invoked
as /bin/sh (usually a link to bash on Linux systems))

> 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
> ------------------------
> 
> --
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null

-- 
-----------------------------------------
Ralph Winslow		      rjw@nac.net
The IQ of the group is that of the member
whose IQ is lowest  divided by the number
of members.


Reply to: