Sometimes when we enter Yum repolist or Curl Www.XXX on Linux. When the program was created by: Intel or System reasons press CTRL + Z
1, when the Linux terminal to run the command, at the end of the command to add & symbols, you can let the program run in the background
[Email protected]$./TCPSERV01 &
2, if the program is running in the foreground, you can use the CTRL + Z option to suspend the program, and then use the BG%[number] command to put this program in the background to run
[Email protected]:~/unp/unpv13e/tcpcliserv$./tcpserv01^z[1]+ Stopped ./tcpserv01[email protected]:~/unp/ unpv13e/tcpcliserv$ BG%1[1]+/tcpserv01 &[email protected]:~/unp/unpv13e/tcpcliserv$
3, for all running programs, we can use the Jobs–l command to view
[Email protected]:~/unp/unpv13e/tcpcliserv$ jobs-l[1]+ 4524 Running ./TCPSERV01 &
[Email protected]:~/unp/unpv13e/tcpcliserv$ FG%1./TCPSERV01
5, can also directly terminate the background running programs, using the KILL command
[Email protected]:~/unp/unpv13e/tcpcliserv$ kill%1
Linux_program foreground background switch view kill utility mark