Difference between revisions of "Linux: screen"
Jump to navigation
Jump to search
Rafahsolis (talk | contribs) |
Rafahsolis (talk | contribs) |
||
| Line 12: | Line 12: | ||
If the connection to a screen is broken, it migth stay attached, to deatach it: | If the connection to a screen is broken, it migth stay attached, to deatach it: | ||
screen -d <screen_id> | screen -d <screen_id> | ||
| + | == Scroll up/down == | ||
| + | ctrl+A Esc --> Move up/down with the arrow keys (↑ and ↓). | ||
| + | When done, hit q or Esc | ||
| + | |||
| + | (If instead of q or Escape you hit Enter or Return and then move the cursor, you will be selecting text to copy, and hitting Enter or Return a second time will copy it. Then you can paste with C-a followed by ].) | ||
Revision as of 12:27, 29 January 2018
Screen Multiple Terminals
screen #start screen ctrl + a c # Create a new terminal ctrl + a 0 # switch to original terminal ctrl + a ctrl + a # switch to previous terminal ctrl + a ctrl + n # switch to next terminal ctrl + a ctrl + p # switch to previous terminal exit # close terminal ctrl + a d # deatach terminal screen -r # recover deatached terminal, works from other computer too!!
If the connection to a screen is broken, it migth stay attached, to deatach it:
screen -d <screen_id>
Scroll up/down
ctrl+A Esc --> Move up/down with the arrow keys (↑ and ↓). When done, hit q or Esc
(If instead of q or Escape you hit Enter or Return and then move the cursor, you will be selecting text to copy, and hitting Enter or Return a second time will copy it. Then you can paste with C-a followed by ].)