Bash - eval (Execute its argument)

About

eval is a bash builtin command that executes command by concatenating arguments.

Syntax

eval [arg ...]
  • The args are read and concatenated together into a single command, separating each with a <space>.
  • This command is then read and executed by the shell

Return

It exit status is returned as the value of eval. If there are no args, or only null arguments, eval returns 0.

Documentation / Reference


Powered by ComboStrap