What should I type to safely shutdown a Linux computer from terminal?
My circumstance is:
I'm using "Raspberry Pi Zero W" over VNC (and SSH). I was able to shutdown it by GUI, but now I press the "Shutdown" button and nothing happens.
The "Raspberry Pi Configuration" app doesn't work neither, but it is not a big problem for me since "sudo raspi-config" works fine. I love the terminal :)
(The OS is "Raspbian Stretch", but I'd prefer a universal way if possible, since I also use other Linux-based OSes. That's why I'm posting this question here instead of Raspberry Pi Stack Exchange.)