tmux使用指南:2 :基本概念与命令行方式基本操作

本文详细介绍了tmux的基本概念,包括session、window和pane,并逐步指导如何创建、重命名session和窗口,拆分窗口,以及进行会话、窗口和窗格的切换操作。此外,还讲解了获取当前状态信息和删除session的方法,是初学者入门tmux的实用教程。
摘要由CSDN通过智能技术生成

在这里插入图片描述
tmux是类Unix操作系统下的分屏终端,这篇文章来介绍一下tmux中的常见概念与常见操作。

概要信息

概要信息如下表所示:

项目 说明
官网 https://github.com/tmux/tmux/wiki
开源/闭源 开源
源码管理地址 https://github.com/tmux/tmux
License类别 ISC License
开发语言 C
当前稳定版本 2.9a(2019/5/1)
操作系统支持 类Unix操作系统

基本概念

在tmux中有三个重要的概念,主要的关联关系如下所示:

  • session: 会话,用户通过会话对于终端分屏进行管控
  • window:窗口,每个session可以包含多个窗口
  • pane:窗格,每个窗口可以拆分为多个窗格
    在这里插入图片描述
Your mouse is slowing you down. The time you spend context switching between your editor and your consoles eats away at your productivity. Take control of your environment with tmux, a terminal multiplexer that you can tailor to your workflow. With this updated second edition for tmux 2.2, you'll customize, script, and leverage tmux's unique abilities to craft a productive terminal environment that lets you keep your fingers on your keyboard's home row. You have a database console, web server, test runner, and text editor running at the same time, but switching between them and trying to find what you need takes up valuable time and breaks your concentration. By using tmux 2.2, you can improve your productivity and regain your focus. This book will show you how. This second edition includes many features requested by readers, including how to integrate plugins into your workflow, how to integrate tmux with Vim for seamless navigation - oh, and how to use tmux on Windows 10. Use tmux to manage multiple terminal sessions in a single window using only your keyboard. Manage and run programs side by side in panes, and create the perfect development environment with custom scripts so that when you're ready to work, your programs are waiting for you. Manipulate text with tmux's copy and paste buffers, so you can move text around freely between applications. Discover how easy it is to use tmux to collaborate remotely with others, and explore more advanced usage as you manage multiple tmux sessions, add custom scripts into the tmux status line, and integrate tmux with your system. Whether you're an application developer or a system administrator, you'll find many useful tricks and techniques to help you take control of your terminal. Table of Contents Chapter 1. Learning the Basics Chapter 2. Configuring tmux Chapter 3. Scripting Customized tmux Environments Chapter 4. Working With Text and Buffers Chapter 5. Pair Programming with tmux Chapter 6. Workflows
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值