LoginSignup
6
7

More than 5 years have passed since last update.

tmuxチート

Posted at

tmuxのコマンド忘れがちなので、チートシート書いておく。

コマンドライン

# 新しいsession
tmux new -s hogehoge(session名)

# セッション一覧
tmux ls

# セッションアタッチ
tmux a -t hogehoge(session名)

# セッション終わる
tmux kill-session -t hogehoge(session名)

# tmux全体を終了
tmux kill-server

キー

プレフィックスは、デフォで Controll + b

# help
?

# コマンド
:

ペイン

# 時計

t

# 番号を表示

q

# 左右分割

%

# 上下分割

"

# 破棄

x

# 移動

o

ウィンドウ

# 新規

c

# 一覧

w

# 番号のウィンドウに移動

0-9

# 検索

f

# rename

,

# 前のウィンドウ

p

# 次のウィンドウ

n

# 破棄

&

セッション


# rename

$

# detach

d

# 一覧

s

時計表示が意外と便利(スクリーンセーバー的)

6
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
7