System Grab Bag

View all TLDR pages from common (or from all pages)

eval

Execute arguments as a single command in the current shell and return its result. More information: https://manned.org/eval.
  • Call echo with the "foo" argument:
    eval "{{echo foo}}"
  • Set a variable in the current shell:
    eval "{{foo=bar}}"

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.