[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Script entrar no diretório - Será que fiquei louco???
From: |
Reinaldo de Carvalho |
Subject: |
Re: [shell-script] Script entrar no diretório - Será que fiquei louco???? |
Date: |
Wed, 14 Apr 2010 09:07:54 -0300 |
2010/4/13 André Déo <address@hidden>:
> [root@localhost /]# cat entra.sh
> #!/bin/bash
> cd /root
> [root@localhost /]# pwd
> /
Seu script esta sendo executado como um novo processo, após finalizado
o mesmo e encerrado e o prompt retorna ao shell inicial.
--
Reinaldo de Carvalho
http://korreio.sf.net
http://python-cyrus.sf.net
"Don't try to adapt the software to the way you work, but rather
yourself to the way the software works" (myself)
Re: [shell-script] Script entrar no diretório - Será que fiquei louco????, Fernando Luizao, 2010/04/14