Background Mode
Explore how to launch Bash commands and GUI applications in the background using the ampersand symbol. Understand how to use jobs, fg, and disown commands to manage these processes, detach them from the terminal, and keep your terminal usable while programs run.
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 ...