Linux enable command

Linux 命令大全Linux Command Encyclopedia

The Linux enable command is used to start or stop shell built-in commands.

If the file to be executed has the same name as a shell built-in command, you can use enable -n to disable the shell built-in command. Without the -n option, enable can re-enable the disabled command.

Syntax

enable [-n][-all][内建指令]

Parameter description:

  • -n Disable the specified shell built-in command.
  • -all Display all disabled and enabled shell commands.

Examples

Display shell built-in commands

# enable //显示shell命令
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 命令大全Linux Command Encyclopedia

Other extensions