pues eso, como puedo hacer en un script de shell algo asi, por ejemplo
si corro un proceso como este:

/foo/bar/bleh.sh > /dev/tty5 2>&1 </dev/tty5

lograr que si se ejecuta bien me imprima ``OK'' y si no me imprima ``NO''

quiza sea algo trivial pero no se me ocurre como :-/


saludos


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

Responder a