===== 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 #attach to an already attached session screen -r # 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 ===== http://blog.boreas.ro/2010/04/share-gnu-screen-sessions-with.html [[http://www.gnu.org/software/screen/manual/screen.html#Logging]]