「tmux」の版間の差分

提供: Eospedia
移動: 案内検索
行1: 行1:
 
* https://github.com/tmux/tmux
 
* https://github.com/tmux/tmux
 +
  
 
== bash補完 ==
 
== bash補完 ==

2019年5月16日 (木) 04:10時点における版


bash補完

セッション一覧の確認

$ tmux ls

デタッチしたセッションへのアタッチ

$ tmux ls

でセッション一覧を表示。

0: 1 windows (created Thu May 16 12:58:12 2019) [169x55]

とか表示されたら、:の左の文字列がセッション名。デフォルトでは番号になってる。

$ tmux attach-session -t <セッション名>

# attachはattach-sessionのエイリアス
$ tmux attach -t <セッション名>

tは"target session"の意。

セッション名の変更

$ tmux rename-session -t <現在のセッション名> <新しいセッション名>