Hexdump can dump file content with hex format, with parameter -e can format displaying data and it's useful in writing shell.
Example usage:
#> hexdump -v FILE -e '1/1 "0x%02X "'
Test result:
Ref:
Hexdump man page
https://man7.org/linux/man-pages/man1/hexdump.1.html
沒有留言:
張貼留言