forked from ttscoff/cheaters
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:ttscoff/cheaters
* 'master' of github.com:ttscoff/cheaters: Fixing broken image links Fix indentation Added new command in screen GNU cheatsheet Screen GNU cheatsheet added
- Loading branch information
Showing
3 changed files
with
80 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
<div id="html5"> | ||
<h3>GNU Screen</h3> | ||
<div> | ||
<article id="page2"> | ||
<div class="inner"> | ||
<header><h4>Basics</h4></header> | ||
<dl> | ||
<dt><code>ctrl a c</code></dt> | ||
<dd>Create new window</dd> | ||
<dt><code>ctrl a A</code></dt> | ||
<dd>Set window name</dd> | ||
<dt><code>ctrl a w</code></dt> | ||
<dd>Show all window</dd> | ||
<dt><code>ctrl a 1|2|3|…</code></dt> | ||
<dd>Switch to window n</dd> | ||
<dt><code>ctrl a ”</code></dt> | ||
<dd>Choose window</dd> | ||
<dt><code>ctrl a ctrl a</code></dt> | ||
<dd>Switch between window</dd> | ||
<dt><code>ctrl a d</code></dt> | ||
<dd>Detach window</dd> | ||
<dt><code>ctrl a ?</code></dt> | ||
<dd>Help</dd> | ||
<dt><code>ctrl a [</code></dt> | ||
<dd>Start copy, move cursor to the copy location, press ENTER, select the chars, press ENTER to copy the selected characters to the buffer</dd> | ||
<dt><code>ctrl a ]</code></dt> | ||
<dd>Paste from buffer</dd> | ||
</dl> | ||
</div> | ||
</article> | ||
|
||
<article id="page3"> | ||
<div class="inner"> | ||
<header><h4>How to start screen</h4></header> | ||
<dl> | ||
<dt><code>screen –DR</code></dt> | ||
<dd>List of detached screen</dd> | ||
<dt><code>screen –r PID</code></dt> | ||
<dd>Attach detached screen session</dd> | ||
<dt><code>screen –dmS MySession</code></dt> | ||
<dd>Start a detached screen session</dd> | ||
<dt><code>screen -S MySession</code></dt> | ||
<dd>Start a new screen session with name MySession</dd> | ||
<dt><code>screen –r MySession</code></dt> | ||
<dd>Attach screen session with name MySession</dd> | ||
</dl> | ||
</div> | ||
</article> | ||
|
||
<article id="page4"> | ||
<div class="inner"> | ||
<header><h4>Advanced</h4></header> | ||
<dl> | ||
<dt><code>ctrl a S</code></dt> | ||
<dd>create split screen</dd> | ||
<dt><code>ctrl a TAB</code></dt> | ||
<dd>switch between split screens</dd> | ||
</dl> | ||
If you created a new split screen, the current window is empty. either select an existing window (ctrl a ”) or create a new split screen (ctrl a n). | ||
<dl> | ||
<dt><code>ctrl a Q</code></dt> | ||
<dd>Kill all regions but the current one.</dd> | ||
<dt><code>ctrl a X</code></dt> | ||
<dd>Remove active window from split screen</dd> | ||
<dt><code>ctrl a O</code></dt> | ||
<dd>Logout active window (disable output)</dd> | ||
<dt><code>ctrl a I</code></dt> | ||
<dd>Login active window (enable output)</dd> | ||
</dl> | ||
</div> | ||
</article> | ||
</div> | ||
<hr> | ||
<p>Adapted from <a href="http://neophob.com/2007/04/gnu-screen-cheat-sheet/" target="_top">Neophob.com post</a></p> |
This file contains 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 characters