@@ -33,5 +33,5 @@ This is about \\idiv.de\public\homes. To make it available on the rstudio server
...
@@ -33,5 +33,5 @@ This is about \\idiv.de\public\homes. To make it available on the rstudio server
```
```
su - $USER
su - $USER
```
```
You will be asked to enter your password again and afterwards your network home will be available at `~/winhome`. However, it will only stay mounted until you log out. If you have any longer running jobs you might want to consider either moving stuff from the ~/winhome to /data or open a tmux session from which you detach (Ctrl+b, d) before you disconnect.
You will be asked to enter your password again and afterwards your network home will be available at `~/winhome`. However, it will only stay mounted until you log out. If you have any longer running jobs you might want to consider either moving stuff from the ~/winhome to /data or open a [tmux](tmux.md) session from which you detach (Ctrl+b, d) before you disconnect.
tmux is a so called terminal multiplexer. A what? It allows you to have multiple terminal sessions inside of one terminal session. It also allows you to connect and disconnect from these sessions and organize them in multiple ways (panes, window).
## 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