I just installed Ubuntu 14.04 on my Intel NUC DN2820. And almost every night as I lie down to sleep I listen to music, and my NUC shuts down (On Windows). On Windows it has the easiest command ever in CMD: Shutdown -s -t 1000
.
That doesn't work on Ubuntu I figured out, but I found this command: Sudo shutdown 18:45
, for those who don't know, 18:45 is an example when the system will shut down.
I tried this in terminal: Sudo shutdown 01:00
and I got a message in terminal '' E:/ can`t find the command''
The E: drive is my external drive, and C: is my SSD, what can I do to get it to shut down?
Thanks :)
The correct command would be
sudo shutdown -h 23:45
- without the -h or -r switch it isn't a valid command (there are others - see man page).Using +9 instead of the time gives you any easy way to say 'in 9 minutes'.
Any reference to E:/ tells us that there is some reference to a windows command going on here as linux has no E:/ which is partly why there are comments as to what you really typed, above - please copy/paste commands, don't re-type them!
sudo shutdown -h +30
will let the system power off after 30 minutes.