User Tools

Site Tools


system_administration

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
system_administration [2019/01/12 23:27]
c0rn3j [How to install SVP on Arch Linux]
system_administration [2019/07/24 13:33] (current)
c0rn3j
Line 245: Line 245:
  
 # More stuff  # More stuff 
 +## Tmux
 +
 +Tmux is a terminal multiplexer,​ meaning you can SSH somewhere, run tmux there and disconnect without killing whatever you were running, or just have multiple terminal tabs without actually launching more terminals.
 +
 +Full cheatsheet: http://​hyperpolyglot.org/​multiplexers
 +
 +Tip: tmux running a session but list-sessions doesn'​t show it? This might help **killall -s SIGUSR1 tmux**
 +
 +If you're running nested tmux sessions, [explanation and tips how to do it efficiently](http://​stackoverflow.com/​a/​8530024). (CTRL+B twice to get into the second level session, thrice to get into third level etc)
 +
 +Command to detach all other sessions(in case the window is small and other session is blocking resizing): attach -d
 +
 +**Basic usage:​** ​
 +
 +tmux - start new tmux session
 +
 +tmux ls - list active sessions
 +
 +tmux a -t _sessionName_ -  attach to specific session
 +
 +tmux kill-session -t _sessionName_ -  kill specific session
 +
 +
 +
 +**Inside of tmux:**
 +
 +CTRL+B d - detach session
 +
 +CTRL+B % - split current pane vertically
 +
 +CTRL+B " - split current pane horizontally
 +
 +CTRL+B ARROW_KEY - move between panes
 +
 +CTRL+B+ARROW_KEY - resize current pane
 +
 +CTRL+B z - toggle current pane fullscreen state
 +
 +CTRL+B x - kill current pane
 +
 +CTRL+B c - create a new window
 +
 +CTRL+B n - next window
 +
 +CTRL+B p - previous window
 +
 +
 ## Apache  ​ ## Apache  ​
 Packages: apache php php-apache(why?​) nghttp2 Packages: apache php php-apache(why?​) nghttp2
system_administration.txt ยท Last modified: 2019/07/24 13:33 by c0rn3j