Linux System Terminal background running very useful screen command __linux

Source: Internet
Author: User

When we log on to the Linux server to run the program, if the link server SSH terminal disconnected, the server program will often be broken.

The general workaround is to have a command followed by A & background run, or use the Nohup command.

In fact, the screen command is a very useful command.

The basic principle is to open a window that is reserved on the server running in the background, you can exit and link to this window at any time.

Screen-s name to create a new window named name

Ctrl+a+d: Suspend Current Window

Screen-r name reconnect to the window named

Screen-ls See how many windows are currently running in the background and their status

screen-d name hangs a window, often used for situations where the current window exception does not connect properly

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.