Use of Linux screen

Source: Internet
Author: User

The principle of screen has not been much understood, and the current configuration and hotkeys are able to handle daily use.

Under your own home configuration. SCREENRC:

# # Defines the function key for screen to Ctrl-o. When entering Ctrl-o to the terminal, press Ctrl-o O.
Escape ^oo

You can also configure the display of a row of window information at the bottom of the screen, but this may affect the visual.

How to use:

1. Screen or screen-s name to create a session. The-s parameter specifies the name of the session

2.

2.1 There can be more than one window under a session;

2.2 Create a new window by C-o C, the default name is bash;

2.3 Modify the title of the window by c-o a (capital letter a)

2.4 by C-o W all the windows are listed and can choose one to enter.

2.5 continuous front and back switching between windows via C-o n/p

2.6 Through C-a c-d will not be prompted to close the current window, when you close all the Windows, the current session will be turned off!

2.7 In such a configuration C-o K (large K) will appear prompting really kill this window [y/n], asking whether to close the current window.

2.8 detached the current session via C-o D.

2.9screen-r Open a session

3. Create only one session in the future, open multiple Windows under this session

Use of Linux screen

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.