Background mount process and uninstallation process in Linux

Source: Internet
Author: User

By using SSH to connect to Linux, a process is opened, and when SSH is closed, the process shuts down, causing the process to not continue to be allowed in the Linux background, which is more cumbersome.

Therefore, the use of Linux background process to mount and unload;

(1) Background process mount: If you want to mount the SH test.sh process, you need to use: Nohup sh test.sh &. The process is automatically run in the background at this point.

(2) Background process uninstall: First view background process: Ps-ef, you can view all the processes in the Linux, in addition to ps-ef|grep filter conditions, you can add filters.

What dead process: kill-9 process number (PID), you can close the current process;

See the following article: 78378041

Please use your phone "sweep" x

Background mount process and uninstallation process in Linux

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.