怎么终止shell中运行的命令?

M-x 打开shelleshell执行一段命令。 若命令未执行结束,用C-c不能终止执行。 请问该怎么终止正在执行的命令?

C-c C-c 或者 term-interrupt-subjob