Skip to content

Instantly share code, notes, and snippets.

@parpok
Created October 13, 2022 17:06
Show Gist options
  • Save parpok/45544acde0b89b50e4af8cdfa1377ed8 to your computer and use it in GitHub Desktop.
Save parpok/45544acde0b89b50e4af8cdfa1377ed8 to your computer and use it in GitHub Desktop.
Reboot to Windows from Linux (must have grub set up to do so)
sudo grub-reboot "$(grep -i windows /boot/grub/grub.cfg|cut -d"'" -f2)" && sudo reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment