官术网_书友最值得收藏!

Running tmux

For now, let's jump right in and start playing with it. Open up your favorite terminal application and let's get started. Just run the following command:

$ tmux

You'll probably see a screen flash, and it'll seem like not much else has happened; it looks like you're right where you were previously, with a command prompt. The word tmux is gone, but not much else appears to have changed.

However, you should notice that now there is a bar along the bottom of your terminal window. This can be seen in the following screenshot of the terminal window:

Congratulations! You're now running tmux.

That bar along the bottom is provided by tmux. We call this bar the status line. The status line gives you information about the session and window you are currently viewing, which other windows are available in this session, and more.

Some of what's on that line may look like gibberish now, but we'll learn more about what things mean as we progress through this book. We'll also learn how to customize the status bar to ensure it always shows the most useful items for your workflow. These customizations include things that are a part of tmux (such as the time, date, server you are connected to, and so on) or things that are in third-party libraries (such as the battery level of your laptop, current weather, or number of unread mail messages).

主站蜘蛛池模板: 永兴县| 山丹县| 浮山县| 汉寿县| 天等县| 本溪市| 隆安县| 桓仁| 大庆市| 宜黄县| 抚顺市| 贺州市| 荣昌县| 固阳县| 逊克县| 沁源县| 栾城县| 陇西县| 许昌县| 洛浦县| 福清市| 分宜县| 巴南区| 西宁市| 灵武市| 黔西县| 桐庐县| 会昌县| 会同县| 利辛县| 上犹县| 雷山县| 湖北省| 泽州县| 孟州市| 合水县| 福清市| 共和县| 夏津县| 博兴县| 乌恰县|