In the Linux system, if there is no relevant settings, then close a process, then he terminates, and when you reopen the process, you must start from the beginning. The solution is to turn the foreground process to the background. So how does the Linux system switch between foreground and background processes?
In a terminal in firefox, it opens firefox, but when you close the terminal or ctrl + c when forced to terminate, firefox also will be closed. You can add an & after the execution, so that it works in the background.
First, Shell support role control, have the following command:
1. command & let the process run in the background
2. jobs – l view the background running process
3. fg %n Let the process running in the background get to the foreground
4. bg %n Let process n go to the background;
PS:“n” The process number that was viewed for the jobs.
Second, execute the command & switch to the background
When running the command in the Linux terminal, add the & symbol at the end of the command, you can let the program run in the background
root@Ubuntu$ . /tcpserv01& Previous12Next page Total 2 pages
There are two different exchange methods in Linux system, namely NBMA and BMA. Dont look at the two
Linux system If you want to understand the load between multiple database servers, then you will use
In the Linux operating system, how to quickly clear the contents of a file? The fol
Recently, some users have reported that they have problems using gulp under Fedora and Ubuntu operat
How to solve the Linux account expiration?
How does CentOS set the DVD as the default yum source
CentOS python version is too low How to manually upgrade?
Linux view method of memory resource usage
The process of reading MBR information from Linux system
How to identify Linux soft links and hard links
How Ubuntu System Uses Script to Upgrade Kernel
How to make Docker images smaller in Linux systems
Windows 7 environment directly installed low version of XP system
How does Win8 turn off the wireless network connection Win8 disables the wireless network connection
Win10 preview can not open the office uninstall reload can still not solve
How to unlock the Win7 system network mode lock
Win7 system prompts "The theme service is not running, the theme can not be loaded" solution
Win8 disk takes up 100% solution
Win10 compressed file can not open how to do
Windows 8.1 or update application via Update