Skip to content
Snippets Groups Projects
Commit 2aa0bdfa authored by Dirk Sarpe's avatar Dirk Sarpe
Browse files

syntax fixes

parent 393448c8
No related branches found
No related tags found
No related merge requests found
...@@ -11,9 +11,9 @@ You can only reach the server from the internal network, i.e. if you are connect ...@@ -11,9 +11,9 @@ You can only reach the server from the internal network, i.e. if you are connect
### Linux ### Linux
From a terminal run From a terminal run
{{{bash ```bash
ssh rstudio1.idiv.de ssh rstudio1.idiv.de
}}} ```
## Data organisation ## Data organisation
Currently there are three important places for you on the server: Currently there are three important places for you on the server:
......
...@@ -4,24 +4,24 @@ tmux is a so called terminal multiplexer. A what? It allows you to have multiple ...@@ -4,24 +4,24 @@ tmux is a so called terminal multiplexer. A what? It allows you to have multiple
## Usage ## Usage
Simply invoke `tmux` to start a new tmux session. You will notice a new (customizable) status bar at the bottom of your terminal. To control tmux you need to enter a prefix (default Ctrl+b). The following prefixes are interpreted as commands to tmux. Simply invoke `tmux` to start a new tmux session. You will notice a new (customizable) status bar at the bottom of your terminal. To control tmux you need to enter a prefix (default Ctrl+b). The following prefixes are interpreted as commands to tmux.
key | command | key | command
------------| |-------------|
? | help | ? | help
[ | activate scroll mode, you need this to navigate through longer output, leave with ESC | [ | activate scroll mode, you need this to navigate through longer output, leave with ESC
d | detaches from current session and gets you back to plain terminal | d | detaches from current session and gets you back to plain terminal
$ | renames current session | $ | renames current session
c | creates a new window | c | creates a new window
& | kills the current window (confirm with y) | & | kills the current window (confirm with y)
n | switch to next window | n | switch to next window
p | switch to previous window | p | switch to previous window
% | splits the current pane in two vertical panes | % | splits the current pane in two vertical panes
" | splits the current pane into two horizontal panes | " | splits the current pane into two horizontal panes
cursor keys | switches between panes | cursor keys | switches between panes
! | break out current pane to new window | ! | break out current pane to new window
## Walkthrough: detaching and attaching ## Walkthrough: detaching and attaching
{{{bash ```bash
tmux tmux
Ctrg+b, $, mysession Ctrg+b, $, mysession
echo "I am in tmux" echo "I am in tmux"
...@@ -29,4 +29,4 @@ Ctrl+b, d ...@@ -29,4 +29,4 @@ Ctrl+b, d
echo "I am a plain terminal" echo "I am a plain terminal"
tmux ls tmux ls
tmux a -t mysession tmux a -t mysession
}}} ```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment