Linux常用命令

1、查看二進制文件-

hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]

參數 描敘
-b 每個字節顯示爲8進制。一行共16個字節,一行開始以十六進制顯示偏移值
-c 每個字節顯示爲ASCII字符
-C 每個字節顯示爲16進制和相應的ASCII字符
-d 兩個字節顯示爲10進制
-e 格式化輸出
-f Specify a file that contains one or more newline separated format strings.  Empty lines and lines whose first non-blank character is a hash mark (#) are ignored.
-n 只格式前n個長度的字符
-o 兩個字節顯示爲8進制
-s 從偏移量開始輸出
-v The -v option causes hexdump to display all input data.  Without the -v option, any number of groups of output lines, which would be identical to the immediately preceding group of output lines
-x 雙字節十六進制顯示

2、

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章