Unix shell in Java