Skip to content
zolrath edited this page Mar 28, 2012 · 4 revisions

wemux start

Use wemux start to start a wemux session, chmod /tmp/wemux-host to 1777 so that other users may connect to it, and attach to it. If a wemux session already exists, it will attach to it instead.

wemux attach

Use wemux attach to attach to an existing wemux session.

wemux stop

Use wemux stop to kill the wemux session and remove the /tmp/wemux-host socket.

wemux kick username

Use wemux kick <username> to kick an SSH user from the server and remove their wemux pair sessions.

wemux config

Use wemux config to open /etc/wemux.conf in your $EDITOR. Note this only works if you have the environment variable EDITOR configured.

wemux

When wemux is run without any arguments in host mode, it is just like running wemux start. It will reattach to an existing wemux session if it exists, otherwise it will start a new session.

Other Commands

wemux passes commands it doesn't understand through to tmux with the correct socket setting.

wemux list-sessions is equivalent to entering tmux -S /tmp/wemux-host list-sessions

Short-form Commands

All commands have a short form. s for start, a for attach, k for stop etc. For a complete list, type wemux help (or wemux h)