---
title: "Discussion on \"How to shutdown Raspberry Pi?\" | Hashnode"
description: "Discussion on \"How to shutdown Raspberry Pi?\". Safest rule: never just pull the power. Always shut it down first, then unplug.Here are the main ways:\n\n1. From the command line (SSH or terminal)\nIn a terminal on the Pi (or over SSH):\nsudo shutdown -h now\n\nor equivalently:\nsudo poweroff\n\nor:\nsudo h..."
url: "https://hashnode.com/posts/how-to-shutdown-raspberry-pi/693a91651a52343d605ec107"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to shutdown Raspberry Pi?](https://ampheoelectronic.hashnode.dev/how-to-shutdown-raspberry-pi?utm_source=hashnode&utm_medium=feed)

Safest rule: never just pull the power. Always shut it down first, then unplug.Here are the main ways: 1. From the command line (SSH or terminal) In a terminal on the Pi (or over SSH): sudo shutdown -h now or equivalently: sudo poweroff or: sudo h...

Dec 11, 2025 · 2 min read · ampheoelectronic.hashnode.dev  
Read the article

-   [#raspberry-pi](https://hashnode.com/tag/raspberry-pi)
-   [#raspberry-pi-5](https://hashnode.com/tag/raspberry-pi-5)
-   [#ssh](https://hashnode.com/tag/ssh)
-   [#raspberry-pi-os](https://hashnode.com/tag/raspberry-pi-os)

## Written by

[ampheo](https://hashnode.com/@ampheo)

@ampheo

  
[View profile](https://hashnode.com/@ampheo)

Electronic Components Distributor

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
