-
-
Save AkiAfroo/b4aa020087f257265cb743f47c4a3fd8 to your computer and use it in GitHub Desktop.
Revisions
-
AkiAfroo revised this gist
Sep 4, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # TMUX and SCREEN commands --- | **Action** | **tmux** | **screen** | -
AkiAfroo revised this gist
Sep 4, 2019 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # tmux and screen commands --- | **Action** | **tmux** | **screen** | -
P7h revised this gist
Dec 7, 2016 . 1 changed file with 4 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ # tmux vs. screen commands --- | **Action** | **tmux** | **screen** | |---|---|---| @@ -35,15 +36,15 @@ | copy text in one view | | <kbd>^a</kbd> <kbd>[</kbd> <kbd>^m</kbd><br>(highlight text and <kbd>enter</kbd>)<br>(to save: <kbd>^a</kbd> <kbd>></kbd>) | | paste text into a view | | <kbd>^a</kbd> <kbd>]</kbd> | ## Other references Extended from [tmux & screen cheat-sheet](http://www.dayid.org/comp/tm.html). ### tmux * tmux shortcuts & cheatsheet: [https://gist.github.com/MohamedAlaa/2961058](https://gist.github.com/MohamedAlaa/2961058) * Book » "tmux 2: Productive Mouse-Free Development" 1st Ed: [https://www.amazon.com/tmux-2-Productive-Mouse-Free-Development/dp/1680502212](https://www.amazon.com/tmux-2-Productive-Mouse-Free-Development/dp/1680502212) * Book » "tmux: Productive Mouse-Free Development" 1st Ed: [https://www.amazon.com/tmux-Productive-Development-Brian-Hogan/dp/1934356964](https://www.amazon.com/tmux-Productive-Development-Brian-Hogan/dp/1934356964) ### screen * Screen cheatsheet: [http://www.catonmat.net/download/screen.cheat.sheet.pdf](http://www.catonmat.net/download/screen.cheat.sheet.pdf) * Screen reference: [http://aperiodic.net/screen/quick_reference](http://aperiodic.net/screen/quick_reference) * Book » "GNU Screen: The virtual terminal manager" 1st Ed: [https://www.amazon.com/GNU-Screen-virtual-terminal-manager/dp/9888381393](https://www.amazon.com/GNU-Screen-virtual-terminal-manager/dp/9888381393) -
P7h revised this gist
Dec 7, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Extended from [tmux & screen cheat-sheet](http://www.dayid.org/comp/tm.html). #### tmux * tmux shortcuts & cheatsheet: [https://gist.github.com/MohamedAlaa/2961058](https://gist.github.com/MohamedAlaa/2961058) * Book » "tmux 2: Productive Mouse-Free Development" 1st Ed: [https://www.amazon.com/tmux-2-Productive-Mouse-Free-Development/dp/1680502212](https://www.amazon.com/tmux-2-Productive-Mouse-Free-Development/dp/1680502212) * Book » "tmux: Productive Mouse-Free Development" 1st Ed: [https://www.amazon.com/tmux-Productive-Development-Brian-Hogan/dp/1934356964](https://www.amazon.com/tmux-Productive-Development-Brian-Hogan/dp/1934356964) #### screen -
P7h revised this gist
Dec 7, 2016 . 1 changed file with 48 additions and 32 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,33 +1,49 @@ # tmux vs. screen commands | **Action** | **tmux** | **screen** | |---|---|---| | start a new session | <kbd>tmux</kbd><br><kbd>tmux new</kbd><br><kbd>tmux new-session</kbd> | <kbd>screen</kbd> | | start a new session with a name | <kbd>tmux new -s name</kbd> | <kbd>screen -S name</kbd> | | re-attach a detached session | <kbd>tmux attach</kbd><br><kbd>tmux attach-session</kbd> | <kbd>screen -r</kbd> | | re-attach a detached session with a name | <kbd>tmux attach -t name</kbd><br><kbd>tmux a -t name</kbd> | <kbd>screen -r name</kbd> | | re-attach an attached session (detaching it from elsewhere) | <kbd>tmux attach -d</kbd><br><kbd>tmux attach-session -d</kbd> | <kbd>screen -dr</kbd> | | re-attach an attached session (keeping it attached elsewhere) | <kbd>tmux attach</kbd><br><kbd>tmux attach-session</kbd> | <kbd>screen -x</kbd> | | detach from currently attached session | <kbd>^b</kbd> <kbd>d</kbd><br><kbd>^b</kbd> <kbd>:detach</kbd> | <kbd>^a</kbd> <kbd>d</kbd> | | rename-window to newname | <kbd>^b</kbd> <kbd>,</kbd><br><kbd>^b</kbd> <kbd>:rename-window <newname></kbd> | <kbd>^a</kbd> <kbd>A</kbd> <kbd>newname</kbd> | | list windows | <kbd>^b</kbd> <kbd>w</kbd> | <kbd>^a</kbd> <kbd>w</kbd> | | list windows in chooseable menu | | <kbd>^a</kbd> <kbd>"</kbd> | | go to window # | <kbd>^b</kbd> <kbd>#</kbd> | <kbd>^a</kbd> <kbd>#</kbd> | | go to last-active window | <kbd>^b</kbd> <kbd>l</kbd> | <kbd>^a</kbd> <kbd>l</kbd> | | go to next window | <kbd>^b</kbd> <kbd>n</kbd> | <kbd>^a</kbd> <kbd>n</kbd> | | go to previous window | <kbd>^b</kbd> <kbd>p</kbd> | <kbd>^a</kbd> <kbd>p</kbd> | | see keybindings | <kbd>^b</kbd> <kbd>?</kbd> | <kbd>^a</kbd> <kbd>?</kbd> | | list sessions | <kbd>^b</kbd> <kbd>s</kbd><br><kbd>tmux ls</kbd><br><kbd>tmux list-sessions</kbd> | <kbd>screen -ls</kbd> | | toggle visual bell | | <kbd>^a</kbd> <kbd>^g</kbd> | | kill the current pane | <kbd>^b</kbd> <kbd>x</kbd><br><kbd>logout</kbd><br><kbd>^D</kbd> | <kbd>^a</kbd> <kbd>X</kbd> | | destroy the current window | <kbd>^b</kbd> <kbd>&</kbd> | <kbd>^a</kbd> <kbd>k</kbd><br><kbd>^a</kbd> <kbd>^k</kbd> | | exit current shell | <kbd>^d</kbd> | <kbd>^d</kbd> | | create another window | <kbd>^b</kbd> <kbd>c</kbd> | <kbd>^a</kbd> <kbd>c</kbd> | | switch to another pane | <kbd>^b</kbd> <kbd>o</kbd> | <kbd>^a</kbd> <kbd>Tab</kbd> | | split pane horizontally | <kbd>^b</kbd> <kbd>"</kbd> | <kbd>^a</kbd> <kbd>S</kbd><br>then <kbd>^a</kbd> <kbd>Tab</kbd><br>and <kbd>^a</kbd> <kbd>c</kbd> | | split pane vertically | <kbd>^b</kbd> <kbd>%</kbd> | <kbd>^a</kbd> <kbd>\|</kbd><br>then <kbd>^a</kbd> <kbd>Tab</kbd><br>and <kbd>^a</kbd> <kbd>c</kbd> | | close other panes except the current one | <kbd>^b</kbd> <kbd>!</kbd> | | | swap location of panes | <kbd>^b</kbd> <kbd>^o</kbd> | | | re-arrange current panes within same window (different layouts) | <kbd>^a</kbd> <kbd>space</kbd> | | | show time | <kbd>^b</kbd> <kbd>t</kbd> | | | show numeric values of panes | <kbd>^b</kbd> <kbd>q</kbd> | | | enable scroll / view scrollback | <kbd>^b</kbd> <kbd>[</kbd><br>(and to exit <kbd>q</kbd>) | <kbd>^a</kbd> <kbd>[</kbd><br>(and to exit <kbd>q</kbd>) | | copy text in one view | | <kbd>^a</kbd> <kbd>[</kbd> <kbd>^m</kbd><br>(highlight text and <kbd>enter</kbd>)<br>(to save: <kbd>^a</kbd> <kbd>></kbd>) | | paste text into a view | | <kbd>^a</kbd> <kbd>]</kbd> | ### Other useful references Extended from [tmux & screen cheat-sheet](http://www.dayid.org/comp/tm.html). #### tmux * tmux shortcuts & cheatsheet: [https://gist.github.com/MohamedAlaa/2961058](https://gist.github.com/MohamedAlaa/2961058) * Book » "tmux 2: Productive Mouse-Free Development" 1st Ed: [https://www.amazon.com/tmux-2-Productive-Mouse-Free-Development/dp/1680502212](https://www.amazon.com/tmux-2-Productive-Mouse-Free-Development/dp/1680502212) * Book » "tmux: Productive Mouse-Free Development" 1st Ed: [https://www.amazon.com/tmux-Productive-Development-Brian-Hogan/dp/1934356964](https://www.amazon.com/tmux-Productive-Development-Brian-Hogan/dp/1934356964) #### screen * Screen cheatsheet: [http://www.catonmat.net/download/screen.cheat.sheet.pdf](http://www.catonmat.net/download/screen.cheat.sheet.pdf) * Screen reference: [http://aperiodic.net/screen/quick_reference](http://aperiodic.net/screen/quick_reference) * Book » "GNU Screen: The virtual terminal manager" 1st Ed: [https://www.amazon.com/GNU-Screen-virtual-terminal-manager/dp/9888381393](https://www.amazon.com/GNU-Screen-virtual-terminal-manager/dp/9888381393) -
P7h revised this gist
Oct 24, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ # tmux vs. screen commands | **Action** | **tmux** | **screen** | |:--------------------------------------------------------------|:----------------------------|:----------------------------------------------| | start a new session | tmux OR<br>tmux new OR<br>tmux new-session | screen | -
P7h revised this gist
Oct 24, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # tmux vs. Screen | **Action** | **tmux** | **screen** | |:--------------------------------------------------------------|:----------------------------|:----------------------------------------------| | start a new session | tmux OR<br>tmux new OR<br>tmux new-session | screen | | start a new session with a name | tmux new -s name | screen -S name | -
P7h revised this gist
Oct 24, 2014 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,4 @@ # tmux vs. Screen | *Action* | *tmux* | *screen* | |:--------------------------------------------------------------|:----------------------------|:----------------------------------------------| | start a new session | tmux OR<br>tmux new OR<br>tmux new-session | screen | -
P7h revised this gist
Oct 24, 2014 . 1 changed file with 9 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,34 +1,28 @@ | *Action* | *tmux* | *screen* | |:--------------------------------------------------------------|:----------------------------|:----------------------------------------------| | start a new session | tmux OR<br>tmux new OR<br>tmux new-session | screen | | start a new session with a name | tmux new -s name | screen -S name | | re-attach a detached session | tmux attach OR<br>tmux attach-session | screen -r | | re-attach a detached session with a name | tmux attach -t name | screen -r name | | re-attach an attached session (detaching it from elsewhere) | tmux attach -d OR<br>tmux attach-session -d | screen -dr | | re-attach an attached session (keeping it attached elsewhere) | tmux attach OR<br>tmux attach-session | screen -x | | detach from currently attached session | ^b d OR<br>^b :detach | ^a ^d OR | | rename-window to newname | ^b , <newname> OR<br>^b :rename-window <newname> | ^a A <newname> | | list windows | ^b w | ^a w | | list windows in chooseable menu | | ^a " | | go to window # | ^b # | ^a # | | go to last-active window | ^b l | ^a l | | go to next window | ^b n | ^a n | | go to previous window | ^b p | ^a p | | see keybindings | ^b ? | ^a ? | | list sessions | ^b s OR<br>tmux ls OR<br>tmux list-sessions | screen -ls | | toggle visual bell | | ^a ^g | | create another shell | ^b c | ^a c | | exit current shell | ^d | ^d | | split pane horizontally | ^b " | | | split pane vertically | ^b % | | | switch to another pane | ^b o | | | kill the current pane | ^b x OR<br> (logout/^D) | | | close other panes except the current one | ^b ! | | | swap location of panes | ^b ^o | | | show time | ^b t | | -
P7h revised this gist
Oct 24, 2014 . 1 changed file with 1 addition and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,6 @@ | *Action* | *tmux* | *screen* | |:--------------------------------------------------------------|:----------------------------|:----------------------------------------------| | start a new session | tmux OR<br>tmux new OR<br>tmux new-session | screen | start a new session with a name | tmux new -s name | screen -S name | | re-attach a detached session | tmux attach OR | screen -r | | | tmux attach-session | | | re-attach a detached session with a name | tmux attach -t name | screen -r name | -
P7h revised this gist
Oct 24, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ | *Action* | *tmux* | *screen* | |:--------------------------------------------------------------|:----------------------------|:----------------------------------------------| | start a new session | tmux OR <br>tmux new OR | screen | | | tmux new OR | | | | tmux new-session | | | start a new session with a name | tmux new -s name | screen -S name | -
P7h revised this gist
Oct 24, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ | *Action* | *tmux* | *screen* | |:-------------------------------------------------------------|:---------------------------|:---------------------------------------------| | start a new session | tmux OR | screen | | | tmux new OR | | | | tmux new-session | | -
P7h created this gist
Oct 24, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ | *Action* | *tmux* | *screen* | |:-------------------------------------------------------------:|:---------------------------:|:---------------------------------------------:| | start a new session | tmux OR | screen | | | tmux new OR | | | | tmux new-session | | | start a new session with a name | tmux new -s name | screen -S name | | re-attach a detached session | tmux attach OR | screen -r | | | tmux attach-session | | | re-attach a detached session with a name | tmux attach -t name | screen -r name | | re-attach an attached session (detaching it from elsewhere) | tmux attach -d OR | screen -dr | | | tmux attach-session -d | | | re-attach an attached session (keeping it attached elsewhere) | tmux attach OR | screen -x | | | tmux attach-session | | | detach from currently attached session | ^b d OR | ^a ^d OR | | | ^b :detach | ^a :detach | | rename-window to newname | ^b , <newname> OR | ^a A <newname> | | | ^b :rename-window <newname> | | | list windows | ^b w | ^a w | | list windows in chooseable menu | | ^a " | | go to window # | ^b # | ^a # | | go to last-active window | ^b l | ^a l | | go to next window | ^b n | ^a n | | go to previous window | ^b p | ^a p | | see keybindings | ^b ? | ^a ? | | list sessions | ^b s OR | screen -ls | | | tmux ls OR | | | | tmux list-sessions | | | toggle visual bell | | ^a ^g | | create another shell | ^b c | ^a c | | exit current shell | ^d | ^d | | split pane horizontally | ^b " | | | split pane vertically | ^b % | | | switch to another pane | ^b o | | | kill the current pane | ^b x OR (logout/^D) | | | close other panes except the current one | ^b ! | | | swap location of panes | ^b ^o | | | show time | ^b t | | | show numeric values of panes | ^b q | | | enable scroll/view scrollback | ^b [ (q to exit) | ^a [ (q to exit) | | copy text in one view | | ^a [ ^m (then highlight text and press enter) | | paste text into a view | | ^a ] |