Slackware HowTo

Use tmux for persistent sessions on Slackware

Split windows, panes, and long-running shells without losing terminal control.

1. When to use it

Suitable when you want a more structured multi-session workflow than screen for analysis, logs, and parallel commands.

tmux | panes | windows | detach | SSH

2. Base setup

printf 'set -g mouse on\nset -g history-limit 10000\n' > ~/.tmux.conf
tmux new-session -d -s admin 'tail -f /var/log/messages'
tmux new-session -s shell

Adjust host names, IPs, interfaces, paths, and versions to the real system before making the change persistent.

3. Quick verification

tmux ls
tmux attach -t admin
tmux attach -t shell

Confirm that the output matches the expected state before considering the intervention complete.

4. Operational notes

When working over SSH, watch TERM and key bindings to avoid odd behavior.

Quick checklist

[ ] Steps completed\n[ ] Config updated\n[ ] Tests executed\n[ ] Rollback ready\n[ ] Logs checked

Back to Linux HowTo