8 July, 2009

Turning a task that you started at the command line into a background task



When you start up an application at the command line you have the choice of starting it as either a foreground or background task(explained here), but what do you do if you start a command in the foreground and want your console back. Well you could always shut down the application that you are running and then start it up again as a background task, this however is a messy solution, the ideal solution however is to move the currently running application into the background.

To move an application from the foreground into the background involves two steps, firstly the task has to be turned into a zombie task, this is done by going to the terminal where the command that you are wanting to change into a background task is running and clicking the control(Ctrl) button and the Z button at the same time. The command that was running is now a zombie, in order to get it into a background task you now need to type "bg" into the terminal and press enter. Your application is now turned into a background task.

VOID

------------------------------------------
NOTE: These articles are tutorials/general ramblings. I do not except responsibility for anything that goes wrong, be it a broken HDD, an entire computer or if you chop off your arms, follow anything I say on this site at your own risk.
------------------------------------------

Comments



Leave a comment

Name:


URL:(optional)


Protection Number (Please insert in box below):1147


Comment:


This website was designed and implemented by myself, all opinions and views expressed are my own unless otherwise specified. Excluding the images contained within the header and any specified elsewhere on the site images are my own.

Copyright Rob Ward
2009 - 2012