This file is indexed.

/usr/sbin/update-grub is in grub2-common 1.99-21ubuntu3.19.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

1
2
3
#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"