Hi,
Google's always useful for this sort of thing, there are quite a few sites that cover the Amiga's CLI and its commands.
As for Ed, its command mode can be entered by pressing Esc, followed by:
A
text - insert text after current position
B - go to bottom of file
BE - mark end of block
BF
text - backwards find text
BS - mark start of block
D - delete line
DB - delete marked block
DC - delete character
F
text - find text
I
text - insert text before current position
IB - insert copy of marked block
IF
filename - insert named file
M
number - go to line number
N - go to next line start
P - go to previous line start
Q - quit without saving
SA
filename - save as named file
SB - show block
T - go to top of file
WB
filename - save marked block as named file
X - exit and save changes
There are a number of keystrokes that can be used in Ed too, in addition to the obvious cursor/backspace/delete/return, etc.:
Ctrl-A - new line
Ctrl-B - delete line
Ctrl-D - scroll down 12 lines
Ctrl-E - go to top or bottom of screen
Ctrl-F - invert case
Ctrl-O - delete word or spaces to right of cursor
Ctrl-R - go to start of previous word
Ctrl-T - go to end of previous word
Ctrl-U - scroll up 12 lines
Ctrl-V - refresh screen
That's pretty much it, I've left out the more obscure / less useful items...
- Ali