[linux命令] od命令

参考网址:http://man.linuxde.net/od

 

语法 od(选项)(参数)

od(选项)(参数)

-a:此参数的效果和同时指定“-ta”参数相同;

-A:<字码基数>:选择以何种基数计算字码;

-b:此参数的效果和同时指定“-toC”参数相同;

-c:此参数的效果和同时指定“-tC”参数相同;

-d:此参数的效果和同时指定“-tu2”参数相同;

-f:select floats

-h:此参数的效果和同时指定“-tx2”参数相同;

-i:select decimal ints;

-j<字符数目>或--skip-bytes=<字符数目>:略过设置的字符数目;

-l:此参数的效果和同时指定“-td4”参数相同;

-N<字符数目>或--read-bytes=<字符数目>:limit dump to BYTES input bytes;

-o:select octal 2-byte units;

-s<字符串字符数>或--strings=<字符串字符数>:output strings of at least BYTES graphic  chars;

-t<输出格式>或--format=<输出格式>:设置输出格式;

-v或--output-duplicates:输出时不省略重复的数据;

-w<每列字符数>或--width=<每列字符数>:output  BYTES bytes per output line;

-x:select hexadecimal 2-byte units;

--help:在线帮助;

--version:显示版本信息。


 

例子:

 

posted @ 2017-05-11 20:46  WenYao.Huang  阅读(245)  评论(0编辑  收藏  举报