Bash Assign Command To Variable And Attribute