2022年2月2日 星期三

『Linux』如何用 od 來做 hex dump (How to use od to dump a file in hexadecimal)

  

沒有 hexdump 可用時,使用 od + less 也可以達到效果,指令如下

When hexdump command is not available, you can use od plus less to dump a file in hexadecimal.

 

od -A x -t x1z [FILE] | less

 

底下範例是用 od 來 dump od 本身

The following example uses od to dump itself.





沒有留言:

張貼留言