Variaveis (export BLABLA="...") devem ficar justamente em /etc/enviroment, JAVA, CC, LANG,... ficam tudo por lá.
Em 23/05/07, Fernando Paim<[EMAIL PROTECTED]> escreveu: > Bom..., li alguns artigos em que a pessoa instruia a configurar, por > exemplo, a variável JAVA_HOME no arquivo /etc/environment. Parece-me, se não > estou enganado, que o melhor lugar seria em /etc/bash.bashrc ou estou > enganado e isso não fará diferença? > > > Wed, 23 May 2007 14:38:17 -0300, hamacker <[EMAIL PROTECTED]> escreveu: > > > /etc/bash.bashrc é o arquivo que será autoexecutado quando alguém > > abrir o bash ou xterm -login e não funciona para outros terminais. É > > que normalmente todas as distros usam o bash, então acaba sendo um > > autoexec para o usuário que acessa o terminal. > > > > Enquanto que /etc/enviroment apenas publica variaveis úteis ao > > sistema, nem sei se é possivel executar programas por ele, mas se > > puder tá colocando as instrucoes no lugar errado. > > > > Em 21/05/07, Fernando Paim<[EMAIL PROTECTED]> escreveu: > > > Qual é a diferença entre os arquivos /etc/environment e /etc/bash.bashrc? > > > Por que usar um e não outro e quando usar um e não outro? > > > > > > > > > -- > > > Interessado em aprender mais sobre o Ubuntu em português? > > > http://wiki.ubuntu-br.org/ComeceAqui - > > > ubuntu-br mailing list > > > ubuntu-br@lists.ubuntu.com > > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br > > > > > > > -- > > Interessado em aprender mais sobre o Ubuntu em português? > > http://wiki.ubuntu-br.org/ComeceAqui - > > ubuntu-br mailing list > > ubuntu-br@lists.ubuntu.com > > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br > > > > > > > > -- > Interessado em aprender mais sobre o Ubuntu em português? > http://wiki.ubuntu-br.org/ComeceAqui - > ubuntu-br mailing list > ubuntu-br@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br > -- Interessado em aprender mais sobre o Ubuntu em português? http://wiki.ubuntu-br.org/ComeceAqui - ubuntu-br mailing list ubuntu-br@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-br