So I've done something like this:

$ while true; do ssh sysremote -CN; done & disown %

In the ps -ef only ssh sysremote -CN is listed.

How do I kill the while loop?

1 Answer 1


Nevermind. I figured it out.

You find the shell it spawned from, kill the shell, everything goes away

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .