美文网首页
tmux 简单使用

tmux 简单使用

作者: myang199088 | 来源:发表于2015-05-24 14:49 被阅读38次
  1. install tmux in ubuntu
    ~$ sudo add-apt-repository ppa:pi-rho/dev ~$ sudo apt-get update ~$ sudo apt-get install tmux

  2. tmux basic usage
    ~$ tmux ~$ tmux -V # check version info.

to split the window in “left:right”, just type:

~$ CTRL B %

to split the window in “top:bottom”, just type:

~$ CTRL B "

to change the current working pane, just type:

~$ CTRL b <directory arrow> # up, down, left, right

to toggle the current working pane full-screen, just type:

~$ CTRL+b z

to create a new tmux window, just type:

~$ CTRL+b c

to toggle with the windows created by tmux, just type:

~$ CTRL+b <window_number> # 0, 1, 2, ...., 9

move to the (n)ext window:
~$ Ctrl+b n

move to the (p)revious window:
Ctrl+b p

Ctrl+B 然后在按 "w",然后使用箭头来移动到你需要的会话,然后在回车,就可以切换到相应的会话中

要从会话脱离,可以按下 Ctrl+B 后接着按 "d" 。将脱离所有的会话返回原来的终端屏幕。
如果要恢复脱离的会话,您可以输入如下命令来恢复:
[root@server ~]# tmux attach

相关文章

  • tmux使用介绍

    tmux简介 tmux,升级版本的screen,可以进行屏幕切割,操作更加简单便捷。 tmux模块 tmux使用C...

  • tmux 简单使用

    ### 快捷键 ctrl + b 基础快捷键,以下所有的快捷键都需要先按下这个快捷键 | --- | --- | ...

  • tmux 简单使用

    install tmux in ubuntu~$ sudo add-apt-repository ppa:pi-r...

  • tmux简单使用

    tmux 介绍 tmux 是一个终端复用软件,即使非正常掉线,也能保证当前的任务运行,这一点对于远程SSH访问特别...

  • 服务器上的编程之Tmux

    什么是 Tmux Tmux 官方 Wiki 简单来说,Tmux 是一个能够让你一个窗口当多个窗口使用的终端模拟器。...

  • tmux的简单使用

    之前使用的是screen,但是后面到矿场实习的时候看身边的同事基本都是用tmux也就顺便学习了下。 tmux的介绍...

  • Tmux使用简单汇总

    SESSION new$ tmux new -s detach$ tmux detachorCtrl+b d:分离...

  • Tmux 使用笔记

    Tmux 速成教程:技巧和调整Tmux 入门介绍多终端管理器TMUX使用详解 查看tmux版本 tmux -V 会...

  • tmux的分屏功能、会话不中断功能

    1)安装工具 在ubuntu系统中安装tmux工具 (2)使用tmux 分屏命令 1. 输入命令 tmux 使用...

  • 公司网络不好试试Tmux

    同事分享的很棒的工具: Tmux 使用 1. Tmux是什么 1.1 Tmux的作用 命令行的典型使用方式是,打开...

网友评论

      本文标题:tmux 简单使用

      本文链接:https://www.haomeiwen.com/subject/hthrqttx.html