Size: 397
Comment:
|
← Revision 4 as of 2019-11-04 10:55:58 ⇥
Size: 610
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 7: | Line 7: |
* screen -r <saessionName> # attach to session * Ctrl+a Ctrl+d # detach from active session * Ctrl+a Ctrl+b # next tab * screen -ls # list sessions * screen -S 1234.session1 -X quit # terminate session |
screen
Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells. When screen is invoked, it executes initialization commands from the files .screenrc in the user’s home directory and /usr/local/etc/screenrc.
- screen -AdmS session1 -t tab1 /bin/bash
screen -r <saessionName> # attach to session
- Ctrl+a Ctrl+d # detach from active session
- Ctrl+a Ctrl+b # next tab
- screen -ls # list sessions
- screen -S 1234.session1 -X quit # terminate session