2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

よく使うtmuxコマンド

Last updated at Posted at 2020-01-25

新規セッションの作成

tmux
tmux new -s (セッション名)

tmuxのみだとセッション名が自動で割り当てられる.
セッション名を指定する時は下.

セッションへのアタッチ

tmux a
tmux a -t (セッション名)

-t でセッション名を指定しない場合は,直前にアタッチしていたセッションに繋がる.

セッションから退出

ctrl b + d

セッション一覧表示

tmux ls

セッションの削除

tmux kill-session
tmux kill-session -t (セッション名)

-t でセッションを指定しない場合は,直前にアタッチしていたセッションを削除する.

tmux全体を終了

tmux kill-server

スクロール

ctrl b + [

矢印キーでスクロールができる.
スクロールモードから出る時は,q を押す

2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?