Code: Select all
CTRL + ALT + F6Code: Select all
sudo telinit 0Code: Select all
sudo rebootI may be wrong, but generally the virtual console under "f7" is reserved for an X-windows session. It would be better to only switch from f1-f6stevepdp wrote:It's highly advised not to pull the plug when running Raspbian, as the filesystem may break.
What you can do however, is switch out to another TTY like so:
Note that you can use F1-F7.Code: Select all
CTRL + ALT + F6
Then, log in on the new TTY and issue the command:
This will gracefully shut down the Raspberry Pi, or you can reboot it like so:Code: Select all
sudo telinit 0
Hope this helps!Code: Select all
sudo reboot