Raspberry Pi of Death Blog

By N. Leveck


On tmux awesomeness

Entered in vim on RPoJ via ssh

20190117

(in the following I use |PREFIX| as a stub for your prefix, typically CTRL+b, but a lot of people like me use CTRL+a)

Multiple sessions are of course awesome. It is not something that a lot of users learn when starting out with tmux. So here is a quick run down:

To create a new named session from within tmux use:

|PREFIX| :new -s NAME

To view a list of sessions and choose one use:

|PREFIX| s

From outside of tmux make a named session with:

tmux new -s NAME

or start detached with

tmux new -s NAME -d

I like to have the following sessions always running:

Handy.

---
All content © 2017-2019 Nathaniel Leveck, all rights reserved. Gopher links funneled through the RPoD gopher->http proxy server.