On Thu, Dec 21, 2023 at 07:33:13PM -0500, Felix Miata wrote: > >From one PC here currently booted: > # grep vmlinuz /boot/grub2/custom.cfg | wc -l > 21 > # grep root= /boot/grub2/custom.cfg | wc -l > 21 > # grep root=LABEL /boot/grub2/custom.cfg | wc -l > 21
Just for the record, grep -c (count matching lines) exists.