In linux, the tool xxd uses xxd to display a file in hexadecimal format. The specific options are as follows. -A: it automatically skips blank content. The default value is-c. It is followed by a number to indicate the number of bytes displayed in each row in hexadecimal format. The default value is 16 bytes. -G: Set to several bytes. The default value is 2 bytes. -L: the number of bytes displayed. -S: followed by "+-" and "address. Plus", it indicates the content starting from the address. Minus signs indicate the content starting from the end address. Usage: xxd-a-c 12-g 1-l 512-s + 0x200 [inputfile] [automatically skip blank] [12 bytes per line] [one byte] [display 512 byte content: [starting from 0x200] [input file] lishuo @ lishuo-laptop: ~ $ Xxd-a-c 12-g 1-l 512-s + 0x2600 ~ /Desktop/I/. img 0002600: 41 6c 00 6f 00 61 00 64 00 65 00 0f Al. o. a. d. e 000260c: 00 AB 72 00 2e 00 62 00 69 00 6e 00 r... B. I .n. 0002618: 00 00 00 ff 4c 4f 41 44 ...... LOAD 0002624: 45 52 20 42 49 4e 20 00 64 94 8e er bin. d 0002630: 78 3a 78 3a 00 00 94 8e 78 3a 03 00 x :... X: 000263c: 51 16 00 00 41 6b 00 65 00 72 00 6e Q... Ak. e. r. n 0002648: 00 65 00 0f 00 da 6c 00 2e 00 62 00. e... L... B. 0002654: 69 00 6e 00 00 00 00 ff I. n ...... 0002660: 4b 45 52 4e 45 4c 20 42 49 4e 20 kernel bin 000266c: 00 64 94 8e 78 3a 78 3a 00 00 94 8e. dx: x :... 0002678: 78 3a 0f 00 54 15 00 00 00 00 00 00 x: T ...... 0002684: 00 00 00 00 00 00 00 00 00 00 ...... * 00027f8: 00 00 00 00 00 00 ......