I usually run the output into less so that I can kill it via less instead using the q key.
$ cmd | less
Example
$ cat /dev/urandom | less

I usually run the output into less so that I can kill it via less instead using the q key.
$ cmd | less
$ cat /dev/urandom | less
