Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 3 in
/home/public/screen/inc/changelog.php on line
25
Warning: Undefined array key 4 in
/home/public/screen/inc/changelog.php on line
26
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 3 in
/home/public/screen/inc/changelog.php on line
25
Warning: Undefined array key 4 in
/home/public/screen/inc/changelog.php on line
26
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 3 in
/home/public/screen/inc/changelog.php on line
25
Warning: Undefined array key 4 in
/home/public/screen/inc/changelog.php on line
26
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 3 in
/home/public/screen/inc/changelog.php on line
25
Warning: Undefined array key 4 in
/home/public/screen/inc/changelog.php on line
26
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Warning: Undefined array key 3 in
/home/public/screen/inc/changelog.php on line
25
Warning: Undefined array key 4 in
/home/public/screen/inc/changelog.php on line
26
Warning: Undefined array key 5 in
/home/public/screen/inc/changelog.php on line
27
Warning: Undefined array key 6 in
/home/public/screen/inc/changelog.php on line
28
Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
Next revision
|
Previous revision
Next revision
Both sides next revision
|
quick_reference [2017-07-26 18:03] 181.110.117.188 See previous |
quick_reference [2018-01-11 15:01] 128.214.166.186 |
====== screen Quick Reference ====== | ====== SCREEN Quick Reference ====== |
| |
===== Getting in ===== | ===== Getting in test ==== |
| |
| start a new screen session with session name | ''screen -S //<name>//'' | | | start a new screen session with session name | ''screen -S //<name>//'' | |
| |
| split display horizontally | ''[[commands:split|C-a S]]'' | | | split display horizontally | ''[[commands:split|C-a S]]'' | |
| split display vertically | ''[[commands:split|C-a | or C-a V (for the vanilla vertical screen patch)]]'' | | | split display vertically | ''[[commands:split|C-a |]]'' or ''[[commands:split|C-a V]]'' (for the vanilla vertical screen patch) | |
| jump to next display region | ''[[commands:focus|C-a tab]]'' | | | jump to next display region | ''[[commands:focus|C-a tab]]'' | |
| remove current region | ''[[commands:remove|C-a X]]'' | | | remove current region | ''[[commands:remove|C-a X]]'' | |
| create a new window and run //ping example.com// | ''screen -S //<name>// -X screen //ping example.com//'' | | | create a new window and run //ping example.com// | ''screen -S //<name>// -X screen //ping example.com//'' | |
| stuff characters into the input buffer\\ using bash to expand a newline character\\ ([[http://lists.gnu.org/archive/html/screen-users/2007-06/msg00012.html|from here]]) | <code bash>screen -S <name> [-p <page>] -X stuff $'quit\r'</code> | | | stuff characters into the input buffer\\ using bash to expand a newline character\\ ([[http://lists.gnu.org/archive/html/screen-users/2007-06/msg00012.html|from here]]) | <code bash>screen -S <name> [-p <page>] -X stuff $'quit\r'</code> | |
| a full example | <code bash> | |
| |
| A full example: |
| |
| <code bash> |
# run bash within screen | # run bash within screen |
screen -AmdS bash_shell bash | screen -AmdS bash_shell bash |
# stuff 'exit\n' to exit bash session | # stuff 'exit\n' to exit bash session |
screen -S bash_shell -X stuff $'exit\r' | screen -S bash_shell -X stuff $'exit\r' |
</code> | | </code> |
| |
===== Misc ===== | ===== Misc ===== |