3 ms·
I love ctrl-Z, but I think of it more as "suspend" than "background". After all, a ctrl-Z'd process isn't really doing anything. If you want to run such in the
by jessaustin 11y ago
I love ctrl-Z, but I think of it more as "suspend" than "background". After all, a ctrl-Z'd process isn't really doing anything. If you want to run such in the backround, just use bg, which is precisely analogous to fg.
- fit2rule 11y agoYes, you're probably right. It disconnects the console i/o from the process fd's, and so the process sits there blocking - and when you fg, the fd's get re-attached and things kick back into place .. while bg'ing the process, I think, re-attaches it to a new thread completely? Ah well, the details are out there somewhere ..
- deleted 11y ago[deleted]