mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-02-14 17:49:53 +00:00
1.2 KiB
1.2 KiB
title, homepage, tagline
| title | homepage | tagline |
|---|---|---|
| hexyl | https://github.com/sharkdp/hexyl | hexyl is a simple hex viewer for the terminal. |
To update or switch versions, run webi hexyl@stable (or @v0.9, @beta,
etc).
Files
These are the files / directories that are created and/or modified with this install:
~/.config/envman/PATH.env
~/.local/bin/hexyl
Cheat Sheet
It uses a colored output to distinguish different categories of bytes (NULL bytes, printable ASCII characters, ASCII whitespace characters, other ASCII characters and non-ASCII).
hexyl is pretty self-explanatory.
If you know that you need a hex viewer, then you probably already know enough to see why this is particularly useful, and can figure out how to use it.
echo "hello" > foo.bin
hexyl foo.bin
For options, such as --length, --skip, and --offset, see:
hexyl --help
Convert hex to binary
If you have some hex (say from some server logs) that you'd like to encode back
to binary to view in hexyl, you can convert it with xxd:
echo '48656c6c6f210a' > foo.hex
xxd -r -p foo.hex foo.bin