Schedule or time your Shutdown in Ubuntu Linux
This is how you can schedule your Ubuntu PC shutdown using the "shutdown" command. Very handy if you need to leave your PC alone and shutdown at a specified time.
sudo shutdown -P nowShutdown after a delay in minutes
sudo shutdown -P +minutesShutdown at a specified time
sudo shutdown -P hh:mm