mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 04:35:25 +02:00
grub-file: add page (#9917)
This commit is contained in:
parent
65b3cd4f60
commit
65c606b09b
1 changed files with 28 additions and 0 deletions
28
pages/linux/grub-file.md
Normal file
28
pages/linux/grub-file.md
Normal file
|
@ -0,0 +1,28 @@
|
|||
# grub-file
|
||||
|
||||
> Check if a file is of a specific bootable image type.
|
||||
> More information: <https://manned.org/grub-file>.
|
||||
|
||||
- Check if a file is an ARM EFI image:
|
||||
|
||||
`grub-file --is-arm-efi {{path/to/file}}`
|
||||
|
||||
- Check if a file is an i386 EFI image:
|
||||
|
||||
`grub-file --is-i386-efi {{path/to/file}}`
|
||||
|
||||
- Check if a file is an x86_64 EFI image:
|
||||
|
||||
`grub-file --is-x86_64-efi {{path/to/file}}`
|
||||
|
||||
- Check if a file is an ARM image (Linux kernel):
|
||||
|
||||
`grub-file --is-arm-linux {{path/to/file}}`
|
||||
|
||||
- Check if a file is an x86 image (Linux kernel):
|
||||
|
||||
`grub-file --is-x86-linux {{path/to/file}}`
|
||||
|
||||
- Check if a file is an x86_64 XNU image (Mac OS X kernel):
|
||||
|
||||
`grub-file --is-x86_64-xnu {{path/to/file}}`
|
Loading…
Add table
Reference in a new issue