I would like to store a command to use at a later period in a variable (not the output of the command, but the command itself)
I have a simple script as follows:
Use eval:
x="ls | wc" eval "$x" y=$(eval "$x") echo "$y"