# TMUX Cheatsheet

A quick cheatsheet for TMUX commands that I can never remember. 

# tmux
`yum -y install tmux`
## Out of tmux
### new session
`tmux new`
### new session with name 
`tmux new -s sessionname`
### show sessions
`tmux ls `
### attach to session

`tmux attach-session -t 0`
### Go to last session 

`tmux a #`
 

## in tmux

### split session window " for horizontal % for vertical

`ctrl-b {"|%}`
### Detach from session

`ctrl-b d`
### Change window in session

`ctrl+b [arrow key]`

More at source: https://hackernoon.com/a-gentle-introduction-to-tmux-8d784c404340 
