Difference between revisions of "Tmux"

From wikieduonline
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 15: Line 15:
 
* <code>tmux a</code> or <code>tmux attach</code> Attach to last used session.<ref>https://medium.com/actualize-network/a-minimalist-guide-to-tmux-13675fb160fa</ref>
 
* <code>tmux a</code> or <code>tmux attach</code> Attach to last used session.<ref>https://medium.com/actualize-network/a-minimalist-guide-to-tmux-13675fb160fa</ref>
 
* <code>[[tmux attach -t]] my_session_name</code> or <code>tmux attach-session -t my_session_name</code>
 
* <code>[[tmux attach -t]] my_session_name</code> or <code>tmux attach-session -t my_session_name</code>
* <code>[[tmux attach]] -t 0</code> or <code>tmux attach-session -t 0</code>
+
* <code>[[tmux attach -t 0]]</code> or <code>tmux attach-session -t 0</code>
 
* <code>[[tmux kill-server]]</code>
 
* <code>[[tmux kill-server]]</code>
 
* [[Detach]]: <code>[[CTRL+b]] d</code>
 
* [[Detach]]: <code>[[CTRL+b]] d</code>
 
* <code>[[tmux new]]</code> or <code>[[tmux new-session]]</code>
 
* <code>[[tmux new]]</code> or <code>[[tmux new-session]]</code>
 +
* [[tmux list-keys]]
 +
* [[Split screen]]: <code>[[Ctrl b]] + %</code>
 +
* [[Move between panes]]: <code>Ctrl+b Arrow Key (Left, Right, Up, Down)</code>
  
 
== Activities ==
 
== Activities ==
Line 28: Line 31:
 
* <code>[[ncurses]]</code>
 
* <code>[[ncurses]]</code>
 
* <code>[[tlog]]</code>
 
* <code>[[tlog]]</code>
 +
* <code>[[tmux-cssh]]</code>
 
* [[i3 (window manager)]]
 
* [[i3 (window manager)]]
 
* [[OpenBSD]] https://man.openbsd.org/tmux.1
 
* [[OpenBSD]] https://man.openbsd.org/tmux.1
 +
* [[Byobu]]
  
 
== See also ==
 
== See also ==

Latest revision as of 08:53, 28 February 2024

tmux is a terminal multiplexer first released in 2007.

Installation[edit]

Examples[edit]

Activities[edit]

  1. Open a tmux session, disconnect your computer and reconnect again to your previous session using tmux attach or tmux a
  2. Transfer current command to a detachable session (reptyr): https://superuser.com/questions/623432/transfer-current-command-to-a-detachable-session-tmux-screen
  3. Add set -g mouse on to your $HOME/.tmux.conf file to scroll using your mouse.[3] (tmux kill-server)

Related terms[edit]

See also[edit]

  • https://gist.github.com/MohamedAlaa/2961058
  • https://medium.com/actualize-network/a-minimalist-guide-to-tmux-13675fb160fa
  • https://superuser.com/a/510310
  • Advertising: