GNU/Linux Command – OD

International Open Source Network (IOSN) is released a detailed FOSS Localization Guide to assists people in localizing FOSS applications. URL: http://www.iosn.net/l10n/localization-guide/

od — Dump files in Octal and other formats.

Summary:
‘od’ (Octal Dump) writes an unambiguous representation of the file in screen. Each line of output consists of the offset in the input, followed by groups of data from the file. Create a text file with 2 lines, to test following examples.

Examples:
$ od myfile -- Dump the content and Offset in Octal format. $ od -a myfile -- Dump the content as named char. $ od -b myfile -- Dump the content in octal bytes. $ od -c myfile -- Dump the content in ASCII. $ od -h myfile -- Dump the content in Short Hex. $ od -w6 myfile -- Set output width to 6 Bytes. Default is 16. $ od -j6 myfile -- Skip initial 6 Bytes. $ od -N6 myfile -- Read only 6 Bytes. $ od -Ad myfile -- Show Offset values in decimal. $ od -Ax myfile -- Show Offset values in Hex. $ od -An myfile -- Don't show the Offset.
Read: man od

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: