Linux background Management command & lt; command & gt; & amp; execute CTRL + Z in the background to pause the jobs of the current job and view the current job running in the background fg & lt; n & gt; pull the task numbered n back to the foreground bg & lt; n & gt; run man in the background of the task numbered n... linux background management commands & Execute CTRL + Z in the background to pause jobs of the current task and view the task fg currently running in the background Pull the task numbered n back to the foreground bg Run man command in the background of a task numbered n to view command details. info command to view command details. Example: 1. sleep 5000 indicates that the current thread is sleeping for 5000 seconds. 2. press CTRL + Z to stop the current thread to the background. 3. jobs are used to list the current background tasks 4 and fg 1, pull Task 1 back to the foreground for running 5. click CTRL + Z to stop Task 1 in the background 6. bg 1 to run task 1 in the background
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