Background Mode
Learn how to run our application in the background and use the terminal for the next commands.
We'll cover the following...
Let’s suppose that we run a GUI application in the terminal window. Then, we cannot use this window for typing the Bash commands. The GUI program controls it and prints the diagnostic messages there. The terminal window becomes available again when the application finishes.
We can run the GUI application in the background mode. Then, the terminal window stays available, and we can use it normally. Add the ampersand (&
) at the end of a Bash command to launch it in the background mode. Here is an example:
notepad++ test.txt &
After this command, we can type text in the ...