1shed(1) General Commands Manual shed(1)
2
3
4
6 shed (Simple Hex EDitor)
7
9 shed [OPTIONS] [FILE]
10
12 A simple hex editor with a pico-style interface.
13
14 Each line of the shed display represents one byte of the file. Each
15 lines consists of the offset of that byte from the start of the file,
16 the ascii value of the byte, and then the byte's value in various
17 bases. All values are unsigned.
18
19 When a command asks you for input, entering a zero-length string or
20 pressing ^C will cancel the command. When searching, entering a zero-
21 length string will use the previous search word, if one exists.
22
23 Note that there is no save key. This is because the file is not loaded
24 into memory, so when you edit it the change is made directly to disk.
25
26
28 -r / --readonly
29 open FILE read only
30
31 -s / --start=OFFSET
32 position cursor to offset
33
34 -H / --hex
35 start in hex mode (hex offsets etc.)
36
37 -L / --length=LENGTH
38 set length of file to LENGTH. Useful for special files where
39 shed cannot obtain the length with stat.
40
41 -h / --help
42 show help and exit
43
44 -v / --version
45 show version and exit
46
47
49 arrow keys
50 move cursor around
51
52 pgup / ^Y
53 cursor up 16 pgdown / ^V cursor down 16
54
55 home / ^A
56 start of line (ascii column)
57
58 end / ^E
59 end of line (binary column)
60
61 space / e
62 edit value at cursor. You are asked to enter the new value in
63 the format of the current column the cursor is in - eg. if you
64 are in the hex column, it will ask for the new value in hex.
65
66 1 / 2 / 4
67 set size of cursor in bytes, in the hex/dec/oct columns (and
68 binary if in traditional mode).
69
70 ` (backtick)
71 toggle the endianness of multi-byte values (when cursor size is
72 2 or 4)
73
74 s / w / ^w / f / F3
75 search. Search string is asked for in the format of the current
76 cursor column. In ascii, just enter the string in ascii. In the
77 others, enter the values seperated by spaces. eg to search for
78 ABC from the decimal column you would enter "65 66 67" (without
79 the quotes).
80
81 ^f / ^b
82 search shortcut for forwards/backwards respectivly.
83
84 r / n / F3
85 repeat previous search
86
87 t toggle whether offset numbers and cursor position etc are in dec
88 or hex.
89
90 b toggle binary mode column behaviour (bit edit mode vs tradiā
91 tional)
92
93 d dump to file.
94
95 j jump to byte. enter a byte number, or 'top' or 'end'. Can be
96 suffixed with K, M or G.
97
98 a change the mode of the ascii column (printable only/c-style
99 extended chars/'man ascii' descriptions)
100
101 p toggle 'preview' mode.
102
103 x / ^x exit
104
105
107 Alex Sisson (alexsisson@gmail.com)
108
109
111 Check for updates at http://shed.sourceforge.net
112
113
114
115shed-1.15 24-MAR-2009 shed(1)