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

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).

主站蜘蛛池模板: 会同县| 乌恰县| 本溪市| 霍邱县| 南通市| 自治县| 千阳县| 夹江县| 延安市| 六枝特区| 宝应县| 南靖县| 时尚| 惠水县| 定日县| 思茅市| 安庆市| 河间市| 乐昌市| 筠连县| 博乐市| 太和县| 应城市| 柳江县| 宝鸡市| 玉田县| 柘荣县| 安福县| 忻州市| 健康| 高要市| 睢宁县| 关岭| 朝阳区| 古丈县| 边坝县| 杨浦区| 乐业县| 寿阳县| 鄂伦春自治旗| 姜堰市|