As we saw in ``Killing a process'', to move a foreground process to the background, press the suspend key. The process is suspended and a message is displayed, as follows:
[1] + Stopped sleep 30To move a suspended job to the background, use the bg(C) command followed by a ``%'' symbol, then the PID, the job number, or the command name. For example, to move the suspended sleep process in the above example to the background, type the following:
$ bg %sleepThe suspended process is then restarted in the background. A message is displayed indicating this, as follows:
[1] sleep 30&