Can I use ctrl-z to pause a script and then continue after rebooting my computer?

I have a program than runs for about 18 hours but I need to do some things in Windows. I was wondering if there was a way to pause the script, reboot into Windows, and then reboot into Linux again and continue where I paused.

6

1 Answer

Not with Ctrl+Z, no. That simply pauses execution but that can't survive rebooting. When you reboot, everything is shut down, including paused processes.

What might be possible is to hibernate instead of shutting down, then boot into Windows and, when finished, resume the hibernated Ubuntu. However, I have not tried this and don't know if it would work. If you have hibernation set up, try it and see.

3

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like