工程咖無極限

顯示具有 hexadecimal 標籤的文章。 顯示所有文章
顯示具有 hexadecimal 標籤的文章。 顯示所有文章

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.





張貼者: William 於 清晨5:26 沒有留言:
以電子郵件傳送這篇文章BlogThis!分享至 X分享至 Facebook分享到 Pinterest
標籤: 十六進制, 檔案, 讀取, 顯示, alternative, dump, hexadecimal, hexdump, linux, od
較舊的文章 首頁
訂閱: 文章 (Atom)

關於我自己

William
檢視我的完整簡介

網誌存檔

  • ▼  2022 (4)
    • ▼  2月 (4)
      • 『C語言』指標教學 程式範例/完整說明
      • 『Linux』如何用 od 來做 hex dump (How to use od to dump a...
      • 『Linux』十分鐘開始使用 vim
      • 『好喝杏仁茶』推薦/總整理
  • ►  2019 (1)
    • ►  4月 (1)
  • ►  2018 (21)
    • ►  11月 (1)
    • ►  7月 (1)
    • ►  6月 (1)
    • ►  5月 (2)
    • ►  4月 (1)
    • ►  3月 (5)
    • ►  2月 (7)
    • ►  1月 (3)
  • ►  2017 (27)
    • ►  12月 (10)
    • ►  11月 (13)
    • ►  10月 (3)
    • ►  7月 (1)
  • ►  2016 (1)
    • ►  9月 (1)
簡單主題. 技術提供:Blogger.