You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Input is broken for next commands if tou type cat | ls or sort | ls
Because cat and sort waits input from stdin, when ls ends, your shell waits for next command but cat / sort keeps reading stdin, so half of user input goes into those processes.
Bash will print ls result, wait cat / sort to end and will then wait for next command.
Note that ctrl-c signal stop your cat / sort process and fix the issue until next broken command
The text was updated successfully, but these errors were encountered:
Input is broken for next commands if tou type
cat | ls
orsort | ls
Because cat and sort waits input from stdin, when ls ends, your shell waits for next command but cat / sort keeps reading stdin, so half of user input goes into those processes.
Bash will print ls result, wait cat / sort to end and will then wait for next command.
Note that ctrl-c signal stop your cat / sort process and fix the issue until next broken command
The text was updated successfully, but these errors were encountered: