From aface6c32d9ad55bf326ba1ef4518479c2e1fadb Mon Sep 17 00:00:00 2001 From: yuri-sk Date: Sun, 27 Nov 2016 13:44:16 +0200 Subject: [PATCH] Update od.md --- pages/common/od.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/common/od.md b/pages/common/od.md index bbbc1a733..68e313fdb 100644 --- a/pages/common/od.md +++ b/pages/common/od.md @@ -1,21 +1,21 @@ # od -> Display a file contents in hexadecimal, octal, or printable character format. +> Display file contents in hexadecimal, octal, or printable character format. > Optionally display the byte offsets into the file. -- Display file in octal format with the byte offsets in octal as well: +- Display file in octal format 8 bytes per line with the byte offsets in octal as well replacing duplicate lines with '*': -`od --address-radix=o --format=o -v {{/path/to/file}}` +`od {{/path/to/file}}` - Display file in hexadecimal format with byte offsets in hexadecimal, 4 bytes per line with each entry 1 byte long: -`od --address-radix=x --format=x1 --width=4 -v {{/path/to/file}}` +`od --address-radix=x --format=x1 --width=4 -v {{/path/to/file}}` - Display only printable strings of at least 5 characters long in the file along with the byte offsets in hexadecimal: -`od --address-radix=x --string=5 -v {{/path/to/file}}` +`od --address-radix=x --string=5 -v {{/path/to/file}}` -- Read only first {{number_of_bytes}} bytes of a file and display it in the hexadecimal format: +- Read only first {{number_of_bytes}} bytes of a file and display it in the hexadecimal format: `od --address-radix=x --format=x --read-bytes {{number_of_bytes}} -v {{/path/to/file}}`