亚洲免费在线-亚洲免费在线播放-亚洲免费在线观看-亚洲免费在线观看视频-亚洲免费在线看-亚洲免费在线视频

A Basic Understanding Of screen On Centos |

系統(tǒng) 2159 0

A Basic Understanding Of screen On Centos | CentOS Help

A Basic Understanding Of screen On Centos

Screen allows you to run scripts or commands in their own virtual window within the terminal, essentially allowing you to have a terminal multi-tasking environment where you can switch between your windows or another users at will. This howto will give you the basics of screen plus some other useful features that may help you in your daily administration tasks. This howto is intended to get you up and running with basic screen functionality within just a few minutes. Please read the manpage for a far more in-depth description of features and options.

?

Applicable to Centos Versions:

  • Centos 5.x

Requirements

Explanation of requirements.

?

  1. Root or appropriate sudo access to the system.

Doing the Work

Basic description of what will be done and what is expected.

  1. Install screen if it’s not already installed:
  2.             yum install screen
    
              
  3. Setup screen for multi-user mode:
  4.             Multi-user mode is helpful for teaching something in realtime because multi-user mode allows 1 or more people observe another performing commands
    or other system maintenance, or it could allow more than one user access to the status of scripts or custom commands running in separate screens.
    
    
                
                  setuid the screen binary:
                
                
    chmod u+s /usr/bin/screen
    
    
                
                  Edit /etc/screenrc and add this at the top:
                
                
    ###Multi-user Mode###
    multiuser on
    acladd username
    aclchg username
    acldel username
    ###End Multi-user Mode###
    
              
  5. Useful screen commands:
  6.             
                  List a particular users screen sessions:
                
                
    screen -list username/ (
                
                  the forward slash is important
                
                )
    
    
                
                  List your own active screen sessions:
                
                
    screen -ls
    
    
                
                  Re-attach to a specific users screen and session:
                
                
    screen -x username/shared-session
    
    
                
                  Start a screen session and give it a unique name:
                
                
    screen -S somename
    
    
                
                  Detach from a running screen session leaving it running in the background:
                
                
                  Hit the key combination:
                
                 Control + A/a + D/d (
                
                  not case sensitive
                
                )
    
    
                
                  Re-attach to a specific screen you've named:
                
                
    screen -R somename
    
    
                
                  Power detach a screen that you are logged into from another location:
                
                
    This is helpful if you've been accidentally disconnected from ssh while in a remote screen session and it's still attached.
    screen -D somename
              

A Basic Understanding Of screen On Centos | CentOS Help


更多文章、技術(shù)交流、商務(wù)合作、聯(lián)系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯(lián)系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點(diǎn)擊下面給點(diǎn)支持吧,站長非常感激您!手機(jī)微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點(diǎn)擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發(fā)表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 91精品国产人成网站 | 国产精品一一在线观看 | 国产视频一区在线观看 | 国产在线观看精品香蕉v区 国产在线观看美女福利精 国产在线观看午夜不卡 | 亚洲国产资源 | 日韩精品另类天天更新影院 | 在线日韩亚洲 | 夜夜夜爽 | 亚洲综合另类 | 久久久网久久久久合久久久久 | 国产伦精品一区二区三区免 | 亚洲综合色秘密影院秘密影院 | 富二代啪啪精品网站 | 国产香蕉国产精品偷在线观看 | 夜色成人免费观看 | 日本日日黄 | 日韩成人精品在线 | 日本黄色一级毛片 | 久久久精品2018免费观看 | 老色鬼a∨在线视频在线观看 | 欧美日韩亚洲一区二区三区 | 夜夜超b天天 | 久草在线免费播放 | 五月天丁香婷婷综合久久 | 尹人香蕉久久99天天 | 亚洲成年 | 99热国产免费 | 热re66久久精品国产99re | 国产欧美曰韩一区二区三区 | 成人在线精品视频 | 免费爱爱视频网站 | a4yy私人毛片| 久久久久免费视频 | 欧美毛片在线播放观看 | 久久国产精品自线拍免费 | 日日摸夜夜欧美一区二区 | 欧美日韩国产一区二区 | 不卡一区二区在线观看 | www深夜视频在线观看高清 | 久久免费在线视频 | 日韩专区亚洲精品欧美专区 |