樹莓派(Raspberry Pi)常用指令

關機
sudo poweroff

重啟
sudo reboot

進入設定清單
sudo raspi-config

修改本機密碼
sudo passwd

取得遠端更新伺服器的套件檔案清單
sudo apt-get update

更新套件
sudo apt-get upgrade

清除套件緩存及已下載但未安裝的套件
sudo apt-get clean

查看使用者名稱
cd /home,再 ls

查看 IP 位址
ifconfig

查看溫度
vcgencmd measure_temp

查看 RAM 大小及使用情況
free