Advantages:
1. can open multiple terminals in one screen
2. can share the same one terminal with others
3. can let the program running in the background
Commands:
1. install tmux: sudo apt-get install tmux
2. start tmux: tmux
3. check all the tmux: tmux ls
4. connect to a certain tmux: tmux attach -t <id>
5. split into two windows horizontally (左右两个): Ctrl b + %
6. split into two windows vertically (上下两个): Ctrl b + "
7. move your cursor: Ctrl b + arrow key
8. page up to see more info in one window: Ctrl b + [
9. close tmux window: Ctrl d
No comments:
Post a Comment