Linux Commands Examples

A great documentation place for Linux commands

grub-script-check

check grub.cfg for syntax errors


see also : grub-mkconfig

Synopsis

grub-script-check [OPTION...] [PATH]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
grub_script_check="${bindir}/`echo grub-script-check | sed "${transform}"`"
GRUB_PREFIX=`echo '/boot/grub' | sed "s,//*,/,g"`
0
source
            
grub_script_check="${bindir}/`echo grub-script-check | sed "${transform}"`"
GRUB_PREFIX=`echo '/boot/grub' | sed "s,//*,/,g"`
# Usage: usage
# Print the usage.

description

Checks GRUB script configuration file for syntax errors.
-v
, --verbose

print verbose messages.

-?, --help

give this help list

--usage

give a short usage message

-V, --version

print program version

reporting bugs

Report bugs to <bug-grub[:at:]gnu[:dot:]org>.


see also

grub-mkconfig

The full documentation for grub-script-check is maintained as a Texinfo manual. If the info and grub-script-check programs are properly installed at your site, the command

info grub-script-check

should give you access to the complete manual.

How can this site be more helpful to YOU ?


give  feedback