How to signal EOF of stdin when in mac osx terminal?

穿精又带淫゛_ 提交于 2019-12-24 01:18:31

问题


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.


回答1:


Just use Ctrl-D, it would do the work in any terminal.



来源:https://stackoverflow.com/questions/15848134/how-to-signal-eof-of-stdin-when-in-mac-osx-terminal

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!