Background process learning in Linux-general Linux technology-Linux programming and kernel information. The following is a detailed description. If I use SSH to log on to SOLARIS9 and run a program, but I feel uncomfortable looking at the output of this process, I want to put this process in the background for execution.
1. How to put this process in the background
^ Z: switch a foreground process to the background. It seems that it has stopped and is still running in the background. You can use ps-A to see that its process number is different from other processes.
2. If I put this process in the background, when my computer suddenly has a breakpoint, will the process executed through SSH be interrupted?
Bg: prints all background processes and their numbers on the screen.
3. How to place the Program executed in the background to the frontend
Fg [number] If no number is specified, the last process that is switched to the background is switched back to the foreground.
If number is specified, the specified background process is switched to the foreground.
Place the specified process on the backend: [www @ google ~] $ Progname &
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service