## Terminal配置大概圖  ## 所需套件 tmux, htop(進階版的top) ``` sudo apt install tmux htop ``` ## 欄位配置說明及步驟 創立一個tmux session ``` tmux <or> tmux -s <name> ``` 建議可以開啟滑鼠讀取模式,就可以使用滑鼠切換不同的pane以及上下滑動pane,也可以調整大小 ``` tmux set mouse on ``` 使用快捷鍵 在winwdow中新增一個左右分割和上下分割的pane 1. 先左右分分割 <crtl+b> + % 2. 在上下分割 <crtl+b> + "  使用`tty`指令可以知道當前terminal的代號 ``` $tty /dev/pts/3 ```  可以透過pipe的方式,將程式的執行結果輸出至指定的terminal ``` {指令} > <terminal代碼> cat ret2try.py > /dev/pts/3 ```  可以在下方的terminal輸入`htop`指令進行效能監控 ``` htop ```  ## 成品 
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up