Quoting  Thiago Carvalho <[EMAIL PROTECTED]>
Sent on  Wed, 5 Jan 2005 08:35:00 -0300

> sei que o slackware pode ler ao logar o .bashrc na pasta do usu�rio...
> eu defini alguns "alias" no meu arquivo e, infelizmente n�o est�
> funcionando...
> 
> onde eu obrigo o slackware a ler esse arquivo????

nao � o Slackware, � o Bash.

de repente o problema � esse:

    ...
    When  bash is invoked as an interactive login shell, or as a non-
    interactive shell with the --login option,  it  first  reads  and
    executes  commands  from  the  file  /etc/profile,  if  that file
    exists.  After reading that file, it looks  for  ~/.bash_profile,
    ~/.bash_login,  and ~/.profile, in that order, and reads and exe�
    cutes commands from the first one that exists  and  is  readable.

    ...

    When  an  interactive shell that is not a login shell is started,
    bash reads and executes commands from  ~/.bashrc,  if  that  file
    exists.   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 ~/.bashrc.
    ...


talvez tu precise usar o ~/.bash_profile

> 
> eu posso definir vari�veis de ambiente nesse arquivo?? (export
> JAVA_HOME...)

pode sim.

-- 
Ricardo Nabinger Sanchez
GNU/Linux #140696 [http://counter.li.org]
Slackware Linux + FreeBSD

  "Keep grandma off the streets -- legalize bingo."
--
GUS-BR - Grupo de Usuarios Slackware - BR
http://www.slackwarebrasil.org/
http://www.linuxmag.com.br/mailman/listinfo/slack-users

Responder a