mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
docs: Document hexdump command
Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
2e1279af2b
commit
7ff4f3c963
1 file changed
+15
-1
+15
-1
@@ -4327,6 +4327,7 @@ you forget a command, you can run the command @command{help}
|
|||||||
* halt:: Shut down your computer
|
* halt:: Shut down your computer
|
||||||
* hashsum:: Compute or check hash checksum
|
* hashsum:: Compute or check hash checksum
|
||||||
* help:: Show help messages
|
* help:: Show help messages
|
||||||
|
* hexdump:: Show raw contents of a file or memory
|
||||||
* insmod:: Insert a module
|
* insmod:: Insert a module
|
||||||
* keystatus:: Check key modifier status
|
* keystatus:: Check key modifier status
|
||||||
* list_env:: List variables in environment block
|
* list_env:: List variables in environment block
|
||||||
@@ -4945,6 +4946,20 @@ about each of the commands whose names begin with those @var{patterns}.
|
|||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
|
||||||
|
@node hexdump
|
||||||
|
@subsection hexdump
|
||||||
|
|
||||||
|
@deffn Command hexdump [--skip offset] [--length len] FILE_OR_DEVICE
|
||||||
|
Show raw contents of a file or memory. When option @option{--skip} is given,
|
||||||
|
@samp{offset} number of bytes are skipped from the start of the device or
|
||||||
|
file given. And @option{--length} allows specifying a maximum number of bytes
|
||||||
|
to be shown.
|
||||||
|
|
||||||
|
If given the special device named @samp{(mem)}, then the @samp{offset} given to
|
||||||
|
@option{--skip} is treated as the address of a memory location to dump from.
|
||||||
|
@end deffn
|
||||||
|
|
||||||
|
|
||||||
@node insmod
|
@node insmod
|
||||||
@subsection insmod
|
@subsection insmod
|
||||||
|
|
||||||
@@ -6131,7 +6146,6 @@ GRUB shell may provide more information on parameters and usage.
|
|||||||
@item @command{gdbstub} - Start GDB stub on given port
|
@item @command{gdbstub} - Start GDB stub on given port
|
||||||
@item @command{gdbstub_stop} - Stop GDB stub
|
@item @command{gdbstub_stop} - Stop GDB stub
|
||||||
@item @command{hdparm} - Get/set ATA disk parameters.
|
@item @command{hdparm} - Get/set ATA disk parameters.
|
||||||
@item @command{hexdump} - Show raw contents of a file or memory.
|
|
||||||
@item @command{hexdump_random} - Hexdump random data.
|
@item @command{hexdump_random} - Hexdump random data.
|
||||||
@item @command{inb} - Read 8-bit value from PORT.
|
@item @command{inb} - Read 8-bit value from PORT.
|
||||||
@item @command{inl} - Read 32-bit value from PORT.
|
@item @command{inl} - Read 32-bit value from PORT.
|
||||||
|
|||||||
Reference in new issue
Block a user