From Linux Bash Shell Scripting Tutorial Wiki
Jump to navigation Jump to search

This article is a stub. You can help us by expanding it.

From the bash man page - The arguments are concatenated together into a single command, which is then read and executed, and its exit status returned as the exit status of eval. If there are no arguments or only empty arguments, the return status is zero.


The syntax is

eval `command`
eval `command arg1 arg2`
eval $(/path/to/command arg0 arg1 ...)