键入Ctrl+D会按预期退出 bash shell,但仅当命令行为空时才有效。当在命令行上输入某些内容时,它会被执行,就像Enter被按下一样。有没有办法让它永远退出?
linux bash
bash ×1
linux ×1