From 29db5939dc5de54e0025078198bc31a2c50b2b71 Mon Sep 17 00:00:00 2001
From: Jan Siwiec <jan.siwiec@vsb.cz>
Date: Mon, 23 May 2022 12:34:05 +0200
Subject: [PATCH] Add new file

---
 .../general/accessing-the-clusters/tmux.md    | 21 +++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 docs.it4i/general/accessing-the-clusters/tmux.md

diff --git a/docs.it4i/general/accessing-the-clusters/tmux.md b/docs.it4i/general/accessing-the-clusters/tmux.md
new file mode 100644
index 000000000..08948961a
--- /dev/null
+++ b/docs.it4i/general/accessing-the-clusters/tmux.md
@@ -0,0 +1,21 @@
+# Tmux
+
+[Tmux][1] is an open-source terminal multiplexer which allows multiple terminal sessions to be accessed simultaneously in a single window. Tmux allows you to switch easily between several programs in one terminal, detach them (they keep running in the background) and reattach them to a different terminal.
+
+Tmux is installed on Karolina's login nodes, but if you prefer [GNU Screen][2], you can install it in your `/home` folder:
+
+```console
+wget https://ftp.gnu.org/gnu/screen/screen-4.8.0.tar.gz
+tar xf screen-4.8.0.tar.gz && rm screen-4.8.0.tar.gz
+cd screen-4.8.0
+./configure --prefix=$HOME/.local/screen
+make
+make install
+mkdir $HOME/.local/screen/etc
+cp etc/etcscreenrc $HOME/.local/screen/etc/screenrc
+echo "export PATH=$HOME/.local/screen/bin:$PATH" >> $HOME/.bashrc
+cd ../ && rm -rf screen-4.8.0
+```
+
+[1]: https://github.com/tmux/tmux/wiki
+[2]: https://www.gnu.org/software/screen/
-- 
GitLab