无法在Bash 4中使用Checkjobs和Autocd

无法在Bash 4中使用Checkjobs和Autocd,bash,bash4,Bash,Bash4,bash4中有新的选项:checkjobs和autocd。 但是,我没有找到他们的文档 man bash 我跑不成功 {checkjobs,autocd} 我在发行说明中发现了以下内容 There is a new `checkjobs` option that causes the shell to check for and report any running or stopped jobs at exit 及 如何使用autocd和checkjobs?autocd和checkj

bash4中有新的选项:checkjobs和autocd。 但是,我没有找到他们的文档

man bash
我跑不成功

{checkjobs,autocd}
我在发行说明中发现了以下内容

 There is a new `checkjobs` option that causes the shell to check for and
 report any running or stopped jobs at exit


如何使用autocd和checkjobs?
autocd
checkjobs
不是命令,而是选项

它们可以通过使用来设置

例如:

shopt -s autocd

两者都要设置

shopt -s autocd
shopt -s checkjobs
shopt -s autocd checkjobs