Shell Background Run Program

Source: Internet
Author: User

Shell Background Run Program
http://blog.csdn.net/courage89/article/details/10561041

  1. & is most often used
    This is used at the end of a command, you can put this command in the background to execute
  2. CTRL + Z
    You can put a command that is executing in the foreground in the background and pause
  3. Jobs
    See how many commands are currently running in the background
  4. Fg
    Move commands in the background to the foreground to continue running
    If there are multiple commands in the background, you can use FG%jobnumber to bring up the selected command,%jobnumber is the ordinal (not PID) 5 of the command that is being executed in the background through the jobs command. BG will suspend a command in the background to continue execution if there are multiple commands in the background, you can use BG%jobnumber to bring up the selected command,%jobnumber is the serial number (not the PID) of the command being executed in the background through the jobs command.
  5. Jobs lists the background job information. ([job number] Run status job name)
  6. CTRL + Z put the task back in the background and pause;
  7. BG <%int> Wake up background tasks and run in the background;
  8. FG <%int> put the post-mission procedures in the foreground;

Shell Background Run Program

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.