Terminal command to reboot/reset?

And just ‘for the record’ here’s an answer to @sroons original post, years later: