Linux screen command and linuxscreen command

Source: Internet
Author: User

Linux screen command and linuxscreen command

Simply put, all the commands typed in the screen are in the background, so you don't need to think about bg. ctrl + z runs the background service in bg. Next time, you can go directly to the screen job background interface to view the Command records we typed in the past,
Even if all your CRTP windows are closed, you can go in next time.

If you do not have the screen command, you need to install it.

Step 1 install
Yyum install screen
Then
Rpm-qa | grep screenscreen-4.0.3-4.el5

This is what I installed

Okay. In the process, enter y and N. Finally, we see Complete! Haha, the installation is successful. The following describes the usage of this command.

1. screen-S as: Create a job. This as is customized. you can name it as needed.
After you press enter, a window will be created. All operations in this window belong to background operations. Ctru + a + z only exits from the window, and the commands executed in the window will not be affected.

2. view the content in the screen-r as job window

3. screen-d: remove the specified screen job offline

4. Clear the dead session
If one of the sessions dies for some reason (for example, killing the session manually ),
In this case, screen-list will display the session as dead. Run the screen-wipe command to clear the session.

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.