2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Raspberry Pi コマンドチートシート

2
Last updated at Posted at 2025-08-17

🧠 Raspberry Pi よく使う基本コマンド集

🔌 シャットダウン関連

即時シャットダウン

sudo shutdown now

指定時間後にシャットダウン(例:10分後)

sudo shutdown -h +10

再起動

sudo reboot

🖥 システム情報の確認

CPU温度の確認

vcgencmd measure_temp

CPUクロック周波数の確認

vcgencmd measure_clock arm

メモリ使用状況の確認

free -h

ディスク使用量の確認

df -h

🌐ネットワーク関連

IPアドレスの確認

hostname -I

ネットワーク設定の確認

ifconfig

ネットワーク接続テスト(Google DNSへping)

ping 8.8.8.8

📦 パッケージ管理

公式から参照

sudo rpi-update

は最新のプレリリース版にアップデートするため基本的にやめておいたほうがいい

パッケージリストの更新

sudo apt update

パッケージのアップグレード

sudo apt full-upgrade

不要パッケージの削除

sudo apt autoremove

パッケージのキャッシュ削除

sudo apt clean

⚙ その他

sudo raspi-config

SSH接続設定ファイル

sudo nano /etc/ssh/sshd_config

SSH再起動

sudo systemctl restart sshd
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?