[EMAIL PROTECTED] wrote:
Estoy intentando recger el estado de un comando ( 1 o 0 ) , no el resultado , tal y como yo lo estoy haciendo me coge el resultado , me orientais por favor.
case "$1" in
    start)
        redon = `ping -c1 83.7.60.80`
        echo $redon

Gracias.



        ping -c1 83.7.60.80
        redon=$?


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Responder a