bash: <<$cmd>>: command not found