[Nottingham] 10 shortcuts to master bash, backgrounding, and screen

Martin martin at ml1.co.uk
Wed Sep 16 13:15:36 UTC 2009


Something nicely useful I've just stumbled across whilst searching for a 
once-in-a-while used dusty command:

10 shortcuts to master bash

To that I'll add:

For when you run a very long command and you wish to do something else 
with that terminal in the meantime, you can send the running job to the 
"background" with:

ctl-z (Sends the job to sleep, bash displays a job number)
bg job_number (Continues running the job in the background. eg: "bg 1" 
for job number 1)

Carry on as before. Note that any terminal output from the backgrounded 
job will be interspersed with whatever it is that you're doing.

Note that there is also a utility called "screen":

Anyone still use the commandline?! :-p



Martin Lomas
martin at ml1.co.uk

More information about the Nottingham mailing list