screen之detach/reattach的一个应用

如果因为某个原因,X需要重起
那么可以先detach
然后X重新启动后,或者可以干脆直接在console里,再reattach
刚刚想到,有点莫名的兴奋,:-D

detach是C-a C-d
reattach是screen -r 然后按tab即可补齐。前提自然是要启用bash-completion

如果不了解screen,可以看看GWN里的报道。一定要试一下!

Comments

r0bertz said…
多谢提示!

Popular posts from this blog

The diff between the original SEC complaint against Ripple and the amended one

Rippled thread cpu usage

Send $SGB (Songbird) to another wallet using a script