CS-FreeStyle / 10000-How-To-Do-in-CS

1 stars 0 forks source link

how to use tmux? #25

Open liuty10 opened 5 years ago

liuty10 commented 5 years ago

What is tmux? Tmux is a linux tool that you can use to split the terminals for command input.

  1. install tmux first $ sudo apt install tmux
  2. use tmux $ tmux or $ tmux new –s myname
  3. now, you have a session. You can create windows in this session: $ ctrl + b, let it go, and then type "c"
  4. now, you can create pane in a window horizontally and vertically: $ ctrl + b, let it go, and then "shift + ," $ ctrl + b, let it go, and then "shif + %"
  5. Once, you have multiple panes in one window, you can switch among them use: $ ctrl + b, let it go, and then press the arrow keys: "<-", "->", "up" and "down".
  6. You can also close panes and windows: $ ctrl + b, let it go, then "x" to kill current one.