在Mac OSX终端中如何发信号通知stdin的EOF? [英] How to signal EOF of stdin when in mac osx terminal?
本文介绍了在Mac OSX终端中如何发信号通知stdin的EOF?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道在Linux终端中,它是ctrl + D。我也在OSX的终端中进行了搜索。有人说这是Control + Q,Control + D,返回键。但是此三步命令在我的计算机上不起作用。
I know that in linux's terminal, it's ctrl+D. I also searched that in OSX's terminal. Someone said it's Control+Q, Control+D,return. But this 3 step command doesn't work on my computer.
推荐答案
只需使用Ctrl-D,它将在任何终端。
Just use Ctrl-D, it would do the work in any terminal.
这篇关于在Mac OSX终端中如何发信号通知stdin的EOF?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文