Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Linux 系統教學 >> 關於 Linux

Ubuntu 12.04 終端機多工神器 Byobu 安裝與實戰操作

編輯:關於 Linux

Byobu 是 screen 的增強版封裝,提供 F2~F9 快捷鍵管理視窗、F12 鎖定終端、底部狀態列顯示 CPU/記憶體/時間等資訊。本文示範 Ubuntu 12.04 透過 apt 與原始碼兩種方式安裝 Byobu,並實戰演示多視窗切換、同時運行 top 與 uptime 等多工操作。

安裝方式

# 套件管理器安裝(推薦)
sudo apt-get install screen byobu

# 原始碼安裝
cd /usr/local/src
sudo wget https://launchpadlibrarian.net/130760729/byobu_5.33.orig.tar.gz
sudo tar zxvf byobu_5.33.orig.tar.gz
cd byobu_5.33 && ./configure && make && sudo make install

核心快捷鍵

按鍵功能
F2開啟新視窗
F3切換至上一個視窗
F4切換至下一個視窗
F8重命名視窗
F9開啟設定選單
F12鎖定終端(需密碼解鎖)

Byobu 讓單一 SSH 連線即可同時處理多項任務,避免開啟多條連線浪費資源,是遠端維運人員必備工具。

Copyright © Windows教程網 All Rights Reserved