3 ms·
$ killall cat | cat | cat | cat | cat | cat Terminated: 15 Which cat died first?
by psim1 3y ago
$ killall cat | cat | cat | cat | cat | cat
Terminated: 15
Which cat died first?
- urbandw311er 3y agoI’m guessing none, since if I assume the commands are executed sequentially then, at the time of execution of killall, the cat commands are not yet running. Fascinated to know the actual answer though.
- GrumpySloth 3y agoPipelines are executed in parallel.
- GrumpySloth 3y agoThe Schrödinger’s cat.