Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我一直在通过 Cygwin 执行这么大的 .SH 文件。我只想在执行时终止 .SH 的执行(如命令提示符中的 ctrl+x)..
执行时终止 .SH 文件执行需要给出什么组合键?
请在这个问题上帮助我。
您应该尝试Ctrl+ C。
如果您在Cygwin本地电台上使用,您也可以尝试关闭其窗口。
Cygwin
您可以尝试按Ctrl-D或Ctrl- C(这会终止当前进程,也可能是给定的软件处理它并且您不需要 CTRL+C)。如果失败,则终止进程。
我认为您正在寻找 cntrl-c 或 cntrl-z。使用 C 取消作业,使用 Z 将其发送到后面。您可以在哪里返回或杀死它。