Created On:  04 November 2010

Problem:

When you execute a program from a command prompt and it takes a long time to give control back to the command prompt, how do you perform other commands in the meantime?

Resolution:

In Linux/UNIX or Windows command prompts/terminals, if you run a task that will take a long time to return control to the terminal and you want to perform tasks in the meantime (in the same command prompt/terminal session) you can add “ /B” in Windows or in Linux/Unix a “ (&)” at the end of the command. This will run the command in the background so you can continue to run other commands without waiting or opening another terminal.