Re: Variavel de Ambiente - Profile
Descobri!!!
Edita no /etc/bash.bashrc
On 6/13/05, Rauklei Guimarães <rauklei@yahoo.com.br> wrote:
> Talvez o melho local seria o ~/.bash_profile e não
> ~/.bashrc como reportei anteriormente, algo como:
>
> faça o seu ~/.bash_profile interpretar o /etc/profile,
> algo
> como:
> # include profile if it exists
> if [ -f ~/etc/profile]; then
> . /etc/profile
>
> --- Yupanqui Munoz <yupanqui@gmail.com> escreveu:
>
> > Ola Pessoal!!!
> >
> > Aguem sabe pq não aceita as variaveis de ambiente???
> > Por favor, quem puder veja o meu profile logo
> > abaixo...
> > ---
> > # /etc/profile: system-wide .profile file for the
> > Bourne shell (sh(1))
> > # and Bourne compatible shells (bash(1), ksh(1),
> > ash(1), ...).
> >
> > ECLIPSE="/opt/eclipse/"
> > JAVA_HOME="/usr/local/java"
> > CLASSPATH="$JAVA_HOME/lib:$JAVA_HOME/jre/lib"
> >
> >
> >
> PATH="/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:$ECLIPSE:$JAVA_HOME:$JAVA_HOME/bin:$JAVA_HOME/jre/bin"
> >
> > if [ "`id -u`" -eq 0 ]; then
> > PATH="/usr/local/sbin:/usr/sbin:/sbin:$PATH"
> > fi
> >
> > if [ "$PS1" ]; then
> > if [ "$BASH" ]; then
> > PS1='\u@\h:\w\$ '
> > else
> > if [ "`id -u`" -eq 0 ]; then
> > PS1='# '
> > else
> > PS1='$ '
> > fi
> > fi
> > fi
> >
> > export JAVA_HOME ECLIPSE CLASSPATH PATH
> >
> > umask 022
> >
> > . ~/.bashrc
> >
> >
> > abraço
> >
> > Yupanqui
> >
> >
>
>
> Rauklei P.S. Guimarães
> --------------------------------
> Seja Livre. Use Debian/GNU/Linux
>
> __________________________________________________
> Converse com seus amigos em tempo real com o Yahoo! Messenger
> http://br.download.yahoo.com/messenger/
>
>
> --
> To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
--
Na Paz Ativa e Criativa sempre
Yupanqui
"Tudo nesse mundo é emprestado, não faz sentido algum
então ficar apegado, agregado ao que não te leva mais além,
não te deixa sossegado...
Eu digo: crescimento econômico não gerará paz na terra,
já que a estatística do lucro não leva em conta a miséria."
- Bnegão
Reply to: