how do we know raspberry pi has completely shut down code example Example: turn of raspberry # in raspberry shell type: sudo shutdown now