On Monday 10 September 2007 16:10:29 Dan Candea wrote:
> salut
>
> încerc sa citesc $PS1 pe un Suse prin ssh. comanda e mai jos dar nu vrea
> sa-mi returneze $PS1
>
> ssh -t -n -ostricthostkeychecking=no hostname /usr/bin/ksh -i -c "test
> -f /etc/profile && . /etc/profile; test -f $HOME/.profile && .
> \$HOME/.profile; env"

In loc de "env" pune "echo \$PS1". Sau daca vrei neaparat toate variabilele de 
environment executa "export" in loc de "env".


Mihai

_______________________________________________
RLUG mailing list
[email protected]
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui