Evaluate several commands/arguments
Syntax eval [arguments]
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.
This is a BASH shell builtin, to display your local syntax from the bash prompt type: help [e]val
Related linux commands:
case – Conditionally perform a command.
expr – Evaluate expressions.
for – Expand words, and execute commands .
gawk – Find and Replace text within file(s).
test – Evaluate a conditional expression.
Equivalent Windows command: CALL – Call one batch program from another.