User Tools

Site Tools


screen:index

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
screen:index [2020/03/24 00:13] – [Useful Shortcuts] orelscreen:index [2024/03/18 15:06] (current) – external edit 127.0.0.1
Line 18: Line 18:
 Kill a remote screen session Kill a remote screen session
   $ screen -S sessionid -X quit   $ screen -S sessionid -X quit
 +
 +Launch several commands in several windows, but in the same session:
 +
 +  $ screen -S sessionid -t win1 -A -d -m bash
 +  $ screen -S sessionid -X screen -t win2 -A -d -m bash
 +  $ screen -ls sessionid
 +  
 +Reattach all windows (use "ctrl-a + w" to list all windows):
 +
 +  $ screen -r sessionid
 +
 +
 +Reattach a given window: ???
 +
 +Shortcuts:
 +
 +  * Ctrl+a d : detach
 +  * ...
 +
 +
  
 ===== TMUX Tips ===== ===== TMUX Tips =====
Line 117: Line 137:
   * ctrl-b n => next window   * ctrl-b n => next window
   * ctrl-b p => previous window   * ctrl-b p => previous window
 +  * ctrl-b # => go to window # (select by number)
   * ctrl-b ? => help   * ctrl-b ? => help
   * ctrl-b c => new shell window   * ctrl-b c => new shell window
screen/index.1585008801.txt.gz · Last modified: 2024/03/18 15:05 (external edit)