Linux screen Ultra-Simple tutorial

Source: Internet
Author: User

1. Install screen

In most cases, screen is already installed on the system. If not, you can use the following command to install:

Implemented in the CentOS system: Yum install screen
Debian/ubuntu System Execution: Apt-get Install screen

2. Common commands

The description of screen is quite complicated, but I am dizzy anyway. But in fact, we only need to master the following five commands is enough for us to use:

Screen-s Test #创建一个名为test的会话

Screen-ls #列出所有会话

screen-d Test #卸载名为test的会话, but the tasks in the session will continue to execute.

Screen-r Test #恢复名为test的会话

Exit #退出当前窗口

3. Common shortcut keys

CTRL + A C: Create a window in the current screen session

CTRL + A D: the same effect as screen-d, unloading the current session

CTRL + A W: Displays a list of Windows in the current session, displayed in the title bar

CTRL + A N: Switch to the next window

CTRL + A P: Switch to the previous window

CTRL + A 0-9: Switch between No. 0 window and 9th window

Description: The shortcut key here consists of three keys, such as CTRL + A C, you can hold down the CTRL key, then press A and C in turn. You can also press CTRL + a once, then press CTRL + C. Both methods are feasible.

Hand remaining fragrance: http://www.linuxidc.com/Linux/2014-04/100040.htm

Linux screen Ultra-Simple tutorial

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.