Skip to content

Instantly share code, notes, and snippets.

@markstachowski
Created April 22, 2018 09:09
Show Gist options
  • Save markstachowski/4483e48412eacb674bf98b3d1541bfea to your computer and use it in GitHub Desktop.
Save markstachowski/4483e48412eacb674bf98b3d1541bfea to your computer and use it in GitHub Desktop.
Grub2
oIFS="$IFS" IFS="'\"" sudo grep menuentry /boot/efi/EFI/fedora/grub.cfg | \ while read ignore line ignoreb ; do echo "$line"|grep -ve ^\\$ -ve ^\- done IFS="$oIFS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment