User Tools

Site Tools


notes:screen

Screen commands

All commands are prefixed with CTRL-A

_ Monitor session for silence
M Monitor for activity
P Previous window
N Back to your shell
C New screen window with a new shell process
List of current open sessions
A Change window name
K Kill current window
\ Kill all windows
d Detach from current screen
[ Copy mode
] Paste the copied text from copy mode

Copy mode

/ Do a search
?
CTRL-R incremental search
CTRL-S

To copy text in copy mode tag the beginning with the spacebar then highlight the text and hit spacebar again

Command line options

screen -ls   #List all screen sessions
screen -x -s <session-id>  #attach to an already attached session
screen -r <session-id> # re-attach to session
screen -d -r # detach first 

screenrc config file

defscrollback
deflog on  #turn logging on 
logfile /var/log/serial/%.n
ignorecase yes #ignore case in search 

References

notes/screen.txt · Last modified: by david