Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux eval Command

Linux eval Command

Linux Command Reference Linux Command Reference

The Linux eval command is used to re-evaluate and obtain the content of arguments.

eval reads a series of arguments and then executes them according to their own characteristics.

Syntax

eval [参数]

Parameter Description: there is no limit to the number of arguments, separated from each other by semicolons.

Example

Combine multiple commands

# eval enable;ls //连接多个命令

enable .

enable :

enable [

enable alias

enable bg

enable bind

enable break

enable builtin

enable caller

enable cd

enable command

enable compgen

enable complete

enable compopt

enable continue

enable declare

enable dirs

enable disown

enable echo

enable enable

enable eval

enable exec

enable exit

enable export

enable false

enable fc

enable fg

enable getopts

enable hash

enable help

enable history

enable jobs

enable kill

enable let

enable local

enable logout

enable mapfile

enable popd

enable printf

enable pushd

enable pwd

enable read

enable readarray

enable readonly

enable return

enable set

enable shift

enable shopt

enable source

enable suspend

enable test

enable times

enable trap

enable true

enable type

enable typeset

enable ulimit

enable umask

enable unalias

enable unset

enable wait

Linux Command Reference Linux Command Reference