# 簡介 Tmux 與 Byobu 的指令統整。Tmux 與 Byobu 常用來當作 Server 的 Consistent Session 使用,亦即關閉與 Server 遠端連線後,程式依然會繼續在 Server 運行。 # Tmux 指令 - [Tmux cheatsheet](https://gist.github.com/MohamedAlaa/2961058) ## 外部操作 - `tmux` - `tmux new {Session Name}` - `tmux attach -t {Session Name / ID}` - `tmux ls` - `tmux kill-session -t {Session Name / ID}` - `tmux kill-server` - `tmux rename-session -t {Number} {Name}` ## 內部操作 Prefix Button: `Ctrl + b` - Detached from session: Prefix + `d` - Create new window: Prefix + `c` - Go to previous window: Prefix + `p` - Go to next window: Prefix + `n` - Go to specific window: Prefix + `{number}` - Scroll: Prefix + `[` + up / down arrow (`q` for quitting) - Close session: `exit` # Byobu 指令 - [Byobu 指令表格](https://hackmd.io/@qy8LSFGCTDuQxhmEoSZjKQ/r1eTssGMH) --- - New byobu session: `byobu` - New window: `F2` - Previous window: `F3` - Next window: `F4` - Detached: `F6` - Rollback & Copy mode: `F7` - Rename: `F8` - Roll up: `Alt + Page Up` - Roll down: `Alt + Page Down` - **Exit rolling mode**: `Ctrl + C` - Roll up on Mac: `Ctrl + U` - Roll down on Mac: `Ctrl + D`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up