There may be times when while working on the Linux command line, you might want to display/convert content in a file in/to a form other than its original form, like decimal or octal. Gladly, there’s an inbuilt command line tool that you can use in situations like these.
It’s called od, and in this tutorial, we will discuss the basics of this tool using some easy to understand examples. Please note that all examples discussed here have been tested on Ubuntu 16.04 LTS.
The OD command is used to convert input into Octal format. Following is its syntax:
od [OPTION]... [FILE]...
Read more at HowToForge