Bash Shell Assign Command Output To Code