shed(1)
shed(1) π the hex editor that ate and left no crumbs
okay bestie, sit down, hydrate, and let me tell you about shed β it's a simple hex editor with a pico-style interface, and it's genuinely iconic. this is from the General Commands Manual section, so you know it's official. β¨
NAME π
shed β simple hex editor with a pico-style interface
SYNOPSIS π¦
shed [OPTIONS] [FILE]
that's it. that's the whole vibe check. π
DESCRIPTION πΈ
A simple hex editor with a pico-style interface. lowkey the whole personality.
Each line of the shed display represents one byte of the file. and each one of those lines is giving a whole little ensemble cast, consisting of:
- the offset of that byte from the start of the file,
- the ascii value of the byte,
- and then the byte's value in various bases.
All values are unsigned. no negatives allowed, we don't do that here. π ββοΈ
When a command asks you for input, entering a zero-length string or pressing ^C will cancel the command. and when you're searching, entering a zero-length string will use the previous search word, if one exists. (so if you're feeling lazy, she remembers. queen behavior honestly. π)
β οΈ note the thing: there is no save key. not a typo, not a bug, not me forgetting to mention it. this is because the file is not loaded into memory, so when you edit it the change is made directly to disk. so likeβ¦ be normal about it. there is no undo, there is no "oops". it's giving permanent marker. ποΈπ
OPTIONS β¨
-r/--readonlyβ open FILE read only. we're just looking, respectfully. π-s/--start=OFFSETβ position cursor to OFFSET. drop her right where you want her.-H/--hexβ start in hex mode (hex offsets etc.). hex girlies rise. π₯-L/--length=LENGTHβ set length of file to LENGTH. Useful for special files whereshedcannot obtain the length withstat. (yes, she tried. she askedstat.statsaid no. so now you tell her. π«Ά)-h/--helpβ show help and exit.-v/--versionβ show version and exit.
KEYS π§
this is the whole keyboard lore, don't skip it, iykyk:
- arrow keys β move cursor around. the classic. the blueprint. β
pgup/^Yβ cursor up 16pgdown/^Vβ cursor down 16home/^Aβ start of line (ascii column)end/^Eβ end of line (binary column)space/eβ edit value at cursor. You are asked to enter the new value in the format of the current column the cursor is in β eg. if you are in the hex column, it will ask for the new value in hex. it's matching your energy. π1/2/4β set size of cursor in bytes, in the hex/dec/oct columns (and binary if in traditional mode).`(backtick) β toggle the endianness of multi-byte values (when cursor size is2or4). flip it, flip it. πs/w/^w/f/F3β search. Search string is asked for in the format of the current cursor column. In ascii, just enter the string in ascii. In the others, enter the values separated by spaces. eg to search for ABC from the decimal column you would enter"65 66 67"(without the quotes). no cap, that's the whole trick. π^f/^bβ search shortcut for forwards/backwards respectivly.r/n/F3β repeat previous search. she said it once and she'll say it again. πtβ toggle whether offset numbers and cursor position etc are in dec or hex.bβ toggle binary mode column behaviour (bit edit mode vs traditional).dβ dump to file.jβ jump to byte. enter a byte number, or'top'or'end'. Can be suffixed withK,MorG. teleportation but make it nerdy. πaβ change the mode of the ascii column (printable only/c-style extended chars/'man ascii'descriptions).pβ toggle'preview'mode.x/^xβ exit. say bye bestie, you've done enough. π«Ά
AUTHOR π
Alex Sisson (alexsisson@gmail.com)
HOMEPAGE π
Check for updates at https://shed.sourceforge.net
and that's the whole page, no notes. this was shed-1.16, dated 06-DEC-2023, straight out of the General Commands Manual, and honestly? she's a baddie. go hex something. πβ¨π
π¦ where this page comes from
- debian trixie: shed 1.16-1 Β· GPL-2.0-or-later
- ubuntu noble: shed 1.16-1 Β· GPL-2.0-or-later
- ubuntu questing: shed 1.16-2
- ubuntu resolute: shed 1.16-2build1 Β· GPL-2.0-or-later
- ubuntu stonking: shed 1.16-2build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms