![]() To mt session mi có tên: tmux new -s name To mt session c ghép kênh: tmux attach Ghép mt session vào Tmux có sn: tmux attach -t name Lit kê các session tmux: tmux ls. Tmux is a terminal multiplexer it allows you to create several 'pseudo terminals' from a single terminal. ![]() tmux is among the most popular terminal multiplexers for Unix-based operating systems. ![]() 1 General prefix CTRL + : start new tmux start new session with name tmux new s myname attach tmux a # attach to named tmux a t myname list sesssions tmux ls kill session tmux kill-session t myname Sessions s list sessions $ rename session Windows (tabs) c create window w list windows n next window p previous window f find window, name window & kill window Panes (splits) % vertical split horizontal split o swap panes q show numbers x kill + break into window - restore from window space toggle layouts move right z toggle zoom Commands resize-pane D 20 resize down resize-pane U 20 resize up resize-pane L 20 resize left resize-pane R 20 resize right swap-window s 3 t 1 list-keys list-panes Misc d detach t clock ?Ģ List shortcuts : prompt Copy mode Function vi emacs back to indentation ^ M-m start selection space C-space clear selection Esc C-g copy selection Enter M-w cursor down j down cursor up k up cursor right l right cursor left h left delete line d C-u delete to end of line D C-k end of line $ C-e start of line 0 C-a next page C-f PgDn next word w M-f paste buffer p C-y quit mode q Esc scroll up K C-up scroll down J C-down search again n n search backward ? C-r search forward / C-s Reload $ tmux source-file ~/. Cui cùng là Tmux cheat sheet tng hp các thông tin bn cn: Sessions. If you want to learn more about tmux, we made this quick and convenient cheat sheet for you to download: Download Comprehensive tmux Cheat Sheet. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |