# Screen ###### tags: `Linux` > 紀錄screen常用指令 [TOC] ## :memo: Where do I start? > 使用以下指令安裝[color=#3b75c6] ```bash sudo apt-get install screen ``` ### New terminal > `<terminalName>`為定義之程序名稱[color=#3b75c6] ```bash screen -S <terminalName> ``` ### List all terminal > 列出所有在 screen 下執行的terminal[color=#3b75c6] ```bash screen -ls ``` ### Enter terminal > `<terminalName>`為自定義名稱或程序編號(ID)[color=#3b75c6] ```bash screen -r <terminalName> ``` ### Common commands > 使用以下操作前,務必先按下`<CTRL+a>`[color=#3b75c6] | Commands | Descriptions | | -------------------------- | ------------------------------ | | Press `<d>` | 使當前terminal在背景狀態下執行 | | Press `<c>` | 刷新當前terminal | | Press `<|>` or `:split -v` | 垂直切割視窗 | | Press `<S>` or `:split` | 水平切割視窗 | | Press `<x>` | 關閉當前分割之terminal | | Press `<Tab>` | 切換terminal | --- ## Reference - Youtube(Linux Leech) ➜ [How to Split Screen your Terminal using GNU Screen](https://www.youtube.com/watch?v=bTbDxaGo4tA) - Vixual ➜ [實用的 screen 終端機管理程式](http://www.vixual.net/blog/archives/44) - 痞客邦(阿民的生活筆記) ➜ [Linux Screen指令](https://lagunawang.pixnet.net/blog/post/2836825-linux-screen%E6%8C%87%E4%BB%A4)
×
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