Bash Execute Command And Capture Output