💾 Archived View for 1436.ninja › Phlog › 20190117.post captured on 2020-09-24 at 01:22:10.

View Raw

More Information

-=-=-=-=-=-=-

# 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:


  Note: not accessible outside of my network


Handy.