Linux Get First Line Of Output