Linux enable command
Linux enable command is used to enable or disable the shell built-in commands.
File names and shell built-in commands to perform the same, enable -n can be used to turn off the built-in shell command. If left -n parameters, enable restart shutdown command.
grammar
enable [-n][-all][内建指令]
Parameter Description:
- -n Closes the specified shell built-in commands.
- -all Displays all closed shell and start command.
Examples
Display shell built-in command
# 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