[Ldl62] Variables d'environement dans shell gnome
   
    Goneri Le Bouder
     
    goneri@r...
       
    Jeu 25 Jan  15:23:17 CET 2007
    
    
  
Le 25/1/2007, "David White" <dwhite@l...> a écrit:
>Hello all,
>
>Sur une CentOS 4.4 lorsque j'ouvre un terminal dans une session
>graphique, le .bash_profile n'est pas lu, je dois faire un su - pour
>forcer la lecture. Comment faire pour qu'il soit lu au lancement du
>terminal (que ce soit gnome-terminal ou bien xterm d'ailleurs)?
man bash:
       When  an  interactive  shell that is not a login shell is started,
bash reads and executes commands from /etc/bash.bashrc and
       ~/.bashrc, if these files exist.  This may be inhibited by using
the --norc option.  The --rcfile file option will force bash
       to read and execute commands from file instead of /etc/bash.bashrc
and ~/.bashrc.
Tu devrais renommer ton .bash_profile en .bashrc.
        Gonéri
    
    
Plus d'informations sur la liste de diffusion Ldl62