Bash commands written at Java