Bash Write Command Output To Input