The Linux eval command is used to recalculate the content of the parameters.
eval can read a series of parameters, and then execute according to the characteristics of the parameters themselves.
grammar
eval [参数]
Parameter description : There is no limit to the number of parameters, and they are separated by semicolons.
example
Concatenate 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
Dachang senior operation and maintenance engineer Linux entry dry content
Introduction to Linux Basics for Senior Operation and Maintenance Engineers of Dachang
E-commerce platform builds Linux from entry to actual project