-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a63b027
commit 6ce2d04
Showing
2 changed files
with
29 additions
and
96 deletions.
There are no files selected for viewing
78 changes: 29 additions & 49 deletions
78
docs/Getting_Started/Cheat_Sheets/tmux:_Reference_Sheet.md
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 |
---|---|---|
@@ -1,67 +1,47 @@ | ||
--- | ||
created_at: '2020-06-11T01:53:05Z' | ||
hidden: true | ||
created_at: '2022-03-24T22:11:13Z' | ||
hidden: false | ||
label_names: [] | ||
position: 0 | ||
title: 'tmux: Reference Sheet' | ||
vote_count: 0 | ||
vote_sum: 0 | ||
zendesk_article_id: 360001567816 | ||
title: 'tmux: Reference sheet' | ||
vote_count: 1 | ||
vote_sum: 1 | ||
zendesk_article_id: 4563511601679 | ||
zendesk_section_id: 360000278975 | ||
--- | ||
|
||
tmux ( terminal multiplexer) is a tool that allows creation of shell | ||
sessions that are detached from your terminal. | ||
*tmux* is a terminal multiplexer. A multiplexer enables the creation | ||
and control of multiple terminals from a single screen. It also allows | ||
the detachment of a screen to run in the background with the ability to | ||
re-attach and start where you left off. | ||
|
||
<table style="height: 410px; width: 746px;"> | ||
<tbody> | ||
<tr> | ||
<td style="width: 66px;"> | ||
Here is an example of starting a *tmux* session: | ||
|
||
**Command** | ||
$ tmux new -s data_transfer | ||
$ cd /nesi/nobackup/nesi99999/myproject | ||
$ rsync -av someserver:/projectdata.tgz projectdata.tgz | ||
CTRL-b d | ||
|
||
</td> | ||
<td style="width: 400.317px;"> | ||
The **CTRL-b** **d** keyboard shortcut "detaches" the screen which | ||
allows you to logoff . When you are ready to reattach to the session | ||
you login and run the following: | ||
|
||
**Examples of use** | ||
$ tmux attach -t data_transfer | ||
|
||
</td> | ||
<td style="width: 416.683px;"> | ||
|
||
**Description** | ||
|
||
</td> | ||
</tr> | ||
<tr> | ||
<td style="width: 66px;" rowspan="2"> | ||
|
||
tmux | ||
|
||
</td> | ||
<td style="width: 400.317px;"> | ||
Once reattached your session will be where you left it. You can name | ||
the session whatever is most appropriate, such as the task you are | ||
performing. You can run as many sessions as you like and they will | ||
remain until you terminate the tmux session or the node is rebooted. | ||
Also of note, your session will be available even if your laptop/desktop | ||
crashes or the network goes down. | ||
|
||
|
||
|
||
</td> | ||
<td style="width: 416.683px;"> | ||
|
||
Starts a new tmux session | ||
More information can be found on the web, here are some good references: | ||
|
||
</td> | ||
</tr> | ||
<tr> | ||
<td style="width: 400.317px;"> | ||
|
||
l | ||
|
||
</td> | ||
<td style="width: 416.683px;"> | ||
|
||
|
||
Shortcut keys and cheat sheet: <https://tmuxcheatsheet.com> | ||
|
||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
Getting started Guide: | ||
<https://linuxize.com/post/getting-started-with-tmux/> | ||
|
||
|
47 changes: 0 additions & 47 deletions
47
docs/Getting_Started/Cheat_Sheets/tmux:_Reference_sheet.md
This file was deleted.
Oops, something went wrong.