Nohup command execution post-launch process exit

Source: Internet
Author: User
Tags exit in

Nohup commands are often used to let processes execute in the background.
However, if you just execute: Nohup Command & then close the terminal directly, you will find that the previous boot process will also exit.
Workaround:
Nohup Command &, see output: appending outputs to nohup.out
You also need to press any key on the terminal to return to the Shell Input Command window, and then exit the terminal by entering exit in the shell.

Reference
1.http://www.cnblogs.com/allenblogs/archive/2011/05/19/2051136.html Linux nohup command usage

Nohup command execution post-launch process exit

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.