su - root
apt update
apt install tmux; # install tmux
tmux; # start tmux

# usage
Ctrl+b " = split pane horizontally
Ctrl+b % = split pane vertically
Ctrl+b o = switch to next pane
hold Ctrl+b use arrow keys = resize pane
Ctrl+b then PageUp or PageDown = scroll through console output

# just as with screen it is possible to detach and reattach to a running session
Ctrl + b then d = detach from session
[detached (from session 0)]

# attach to session (if only 1x tmux session is running)
tmux attach

# show all tmux sessions (needs to be done as user that started the session)
tmux ls
0: 1 windows (created Tue Mar 25 09:43:32 2025)

# reattach to that session SUPER NEAT EH?
tmux a -t 0

# this is also how to stop auto scrolling if the user wants to copy + paste results

manpage:

tmux.man.txt

links

https://github.com/tmux/tmux/wiki

https://en.wikipedia.org/wiki/Tmux

https://tmuxcheatsheet.com/

creditz go to Nicholas Marriott https://undeadly.org/cgi?action=article;sid=20090712190402

gnome mate terminal bash how to increase the amount of lines history that can be scrolled?

# in the bash terminal run
HISTSIZE=50000 # number of commands stored in memory
HISTFILESIZE=100000 # number of commands stored in ~/.bash_history

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin