Bash Get First Line Of Output Portal