send process straight to bg in bash

Posted by ItsNannerpuss on Super User See other posts from Super User or by ItsNannerpuss
Published on 2011-11-22T17:30:31Z Indexed on 2011/11/23 9:55 UTC
Read the original article Hit count: 341

Filed under:

I find I frequently use the combination of Suspend (^Z) then send to background (bg) in bash. Ideally I would like an alternate keyboard shortcut that negates the need to follow ^Z with the bg command, and just send the active process straight to background. Does this exist?

Edit: I should have been more specific, but appending & to the command is not sufficient, as they often require interaction (stdin) between launch and backgrounding. So:

  1. launch
  2. interact
  3. background

© Super User or respective owner

Related posts about bash