diff --git a/rstudio1.md b/rstudio1.md index 13ebd9257c0214a42b0eb7071487611f738a8d52..4242be2cd5ca475c68810b3b412dce3fdd4c7fdf 100644 --- a/rstudio1.md +++ b/rstudio1.md @@ -11,9 +11,9 @@ You can only reach the server from the internal network, i.e. if you are connect ### Linux From a terminal run -{{{bash +```bash ssh rstudio1.idiv.de -}}} +``` ## Data organisation Currently there are three important places for you on the server: diff --git a/tmux.md b/tmux.md index 1b2f8a0c83c01ba8d76f309ab3f5a2bb6f300ec7..baa985b79e01ba9a7da6faa1ee8d1f88bcaf8326 100644 --- a/tmux.md +++ b/tmux.md @@ -4,24 +4,24 @@ tmux is a so called terminal multiplexer. A what? It allows you to have multiple ## 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. -key | command -------------| -? | help -[ | 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 -$ | renames current session -c | creates a new window -& | kills the current window (confirm with y) -n | switch to next window -p | switch to previous window -% | splits the current pane in two vertical panes -" | splits the current pane into two horizontal panes -cursor keys | switches between panes -! | break out current pane to new window +| key | command +|-------------| +| ? | help +| [ | 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 +| $ | renames current session +| c | creates a new window +| & | kills the current window (confirm with y) +| n | switch to next window +| p | switch to previous window +| % | splits the current pane in two vertical panes +| " | splits the current pane into two horizontal panes +| cursor keys | switches between panes +| ! | break out current pane to new window ## Walkthrough: detaching and attaching -{{{bash +```bash tmux Ctrg+b, $, mysession echo "I am in tmux" @@ -29,4 +29,4 @@ Ctrl+b, d echo "I am a plain terminal" tmux ls tmux a -t mysession -}}} +```