Skip to content

Instantly share code, notes, and snippets.

@ttdoda
Created February 20, 2017 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ttdoda/9fc4103083595e2431d03868ad042a61 to your computer and use it in GitHub Desktop.
Save ttdoda/9fc4103083595e2431d03868ad042a61 to your computer and use it in GitHub Desktop.
hexdump の出力
% uname -a
FreeBSD mizup 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
% printf "abaaaaaaaaaaaaaaabaaaa" | hexdump -C
00000000 61 62 61 61 61 61 61 61 61 61 61 61 61 61 61 61 |abaaaaaaaaaaaaaa|
*
00000010
########
% uname -a
Linux saorin.iwmt.org 3.10.0-514.6.1.el7.x86_64 #1 SMP Wed Jan 18 13:06:36 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
% printf "abaaaaaaaaaaaaaaabaaaa" | hexdump -C
00000000 61 62 61 61 61 61 61 61 61 61 61 61 61 61 61 61 |abaaaaaaaaaaaaaa|
00000010 61 62 61 61 61 61 |abaaaa|
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment