Thursday, February 28, 2008

screen is an useful tool for remote access(e.g. SSH)

screen is an wonderful tool for remote access and easy use. The process are running after the screen is detached, even if the remote access was terminated.

start an new screen with name "s-name"
screen -S s-name

do something,and detach current screen process
CRTL+a d

list screens
screen -ls

reattach an detached screen process with name "s-name"
screen -r s-name

0 comments: