On Wed, Jul 05, 2017 at 09:53:15PM +0000, der.hans wrote: > When running the command, your current shell evaluates the variable and > replaces it with the variable's value before starting the echo command. > When echo is run the command has already turned into "echo /bin/bash" or > whatever your shell is, then echo produces "/bin/bash" as the output. Yes, I thnk that OP's problem is that there is no output, probably because the variable is not declared or empty.