外部调用命令
Effect | Command |
---|
start a new screen session with session name | screen -S <name> |
list running sessions/screens | screen -ls |
attach to a running session | screen -x |
attach to session name | screen -r <name> |
内部使用组合键
C-a
是快捷键Control+a
的简写
Effect | Command |
---|
detach | C-a d |
getting out of the screen session | exit |
create new window | C-a c |
change to next window in list | C-a n or C-a <space> |
change to previous window in list | C-a p or C-a <backspace> |
see window list | C-a ” (allows you to select a window to change to) |
rename current window | C-a A |
See help | C-a ? (lists keybindings) |
参考资料
http://aperiodic.net/screen/quick_reference