Ubuntu 20.04中實用指令(會持續更新)|Practical commands in Ubuntu 20.04 (To be continue...)
目錄 Content
1️⃣快捷鍵操作|Keyboard shortcut
2️⃣實用指令|Practical commands
1️⃣快捷鍵操作|Keyboard shortcut
按鍵開啟終端機|Open Terminal using keyboard shortcut
按 ”ctrl” + “alt” + ”t”|Press ”ctrl” + “alt” + ”t”
按鍵關閉終端機|Close Terminal using keyboard shortcut
按 ”ctrl” + “d”|Press ”ctrl” + “d”
複製|Copy
按 ”ctrl” + “insert”|Press ”ctrl” + “insert”
貼上|Paste
按 ”shift” + “insert”|Press ”shift” + “insert”
螢幕錄製|Screen record
按 ”ctrl” + “alt” + “shift” + “r”|Press ”ctrl” + “alt” + “shift” + “r”
螢幕截圖|Screenshot
1. 全部螢幕|Whole screen
- 按 ”print screen”|Press ”print screen”
2. 當前應用程式|Current application
- 按 ”alt” + ”print screen”|Press ”alt” + ”print screen”
3. 特定區域|Certain area of screen
- 按 ”shift” + ”print screen” + ”滑鼠框選”|Press ”shift” + ”print screen” + ”mouse select”
2️⃣實用指令|Practical commands
查詢歷史指令|Check history commands
history
查看當前資料夾內檔案資訊|Check the information of files in current folder
ll
查看當前資料夾內檔案名稱|Check the name of files in current folder
ls (= l)
查看CPU相關資訊|Check the information of CPU
lscpu
查看GPU相關資訊|Check the information of GPU
sudo lshw -C display
查看 nvidia 系統管理界面|Check system management interface of nvidia
nvidia-smi
每秒刷新 nvidia 系統管理界面|Check system management interface of nvidia per second
watch -n 1 -d nvidia-smi
查看整體硬碟使用容量|Check the usage of storage for whole hard drive
df -hl
查看當前用戶使用容量|Check the usage of storage for the current user
du -h -s