eval Source https://unix.stackexchange.com/a/356536/482223 some_command="echo This is a test" eval "${some_command}"