2010/4/13 André Déo <[email protected]>:
> [r...@localhost /]# cat entra.sh
> #!/bin/bash
> cd /root
> [r...@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)

Responder a