Xing Shi
Xing Shi

Reputation: 2230

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

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.

Upvotes: 4

Views: 7606

Answers (1)

mimoralea
mimoralea

Reputation: 9986

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

Upvotes: 8

Related Questions