• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Ubuntu 18.04 command to force shutdown

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.


May 31, 2004

I need a command to force an unattended shutdown of my Ubuntu 18.04 computer at a certain time twice a week.

Preferably a command that shuts down nicely so files are closed etc.

Any ideas?

Looks like I need to do this on Win 8 machine too - any ideas for apps that would control a shudown?
Last edited:
That looks like it will work fine.

I can just type the command the day before the shutdown is needed.