Linux Screen Command

Source: Internet
Author: User

Screen related concepts
    • Session: The screen command creates a set of processes from the Linux terminal to manage the operations of multiple windows, a process group called a session.
    • Window: One session can create one or more windows, each of which is equivalent to an SSH login and can execute any shell program.
    • Disconnected session: A session can be interrupted and can be re-entered to do unfinished work.
Screen common operations
    • Screen-s name to create a new session
    • screen-d name detach from external (detach) a session
      • C-a D temporarily from inside the current session (hold down CTRL and a, and then press D)
    • Screen-r name Reattach an already existing session
    • Screen-ls List all Sessions
    • Screen-xs name quit to end a session from outside
      • C-a quit to end the current session from the inside
Window common operations

Note: You can use the Window command only in a screen session

    • C-a S Transverse Slicing window
    • c-a | Portrait Split window
    • C-a tab moves to the next split area
    • C-a c Create a window
    • C-a K Kill a window
    • C-a n switch to the next window
    • C-A p switch to the previous window
    • C-a c-a switch back and forth in the most recently used window
    • C-a W Display list of all windows
    • C-a 0...9 Switch to NO. 0 in session ... 9 windows
    • C-a X to end the divided area
    • C-a Q Close all other areas outside the current region
    • C-a Z put the current session in the background to run, with the Shell's FG command can go back
    • C-a "To switch windows from the list
    • C-a a Settings window alias

Linux Screen Command

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.