hex.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 26 Feb 2019 00:30:42 +0200
changeset 2354 b1b3edc69255
parent 1912 8b81a8f0f692
permissions -rw-r--r--
View iptables rules

.. -*- coding: utf-8; -*-

=========================
 Hex data representation
=========================
.. contents::
   :local:

Dump binary data in hex.
========================
::

  $ od -t x1 <file

or::

  $ hexdump -v -e '1/1 "0x%02x, "'