It will wait for input until it reads EOF. Try cat as a single command without anything else. It will not exit, but wait for you to provide input on stdin.
It will wait for input until it reads EOF. Try cat as a single command without anything else. It will not exit, but wait for you to provide input on stdin.