hdump 2.2 Fast, simple and portable hexadecimal/ASCII dumper for binary files, written in ANSI C. BUID $ make USAGE $ hdump [-c columns] [-s skip] [-n length] file OPTIONS -c : number of columns to print dump (default: 16) -s : number of bytes to be skipped / start byte -n : length of bytes to read / minimum number of bytes to print -v : show version and author banner -h : show usage Prefixing numbers with '0x' make hdump use it as hexadecimal. EXAMPLES Print only the first 16 bytes of file /bin/ls: $ hdump -n 16 /bin/ls $ hdump -n 0x10 /bin/ls Start at byte 0xff and print a maximum of 32 bytes after: $ hdump -s 0xff -n 32 /bin/ls