vi is installed by default, I think. See the vi cheat sheet
for help in using it.
For Mandrake, I suggest the editor in mc (Midnight Commander) for a command line editor as it is on the install disk.
For a simple no-brainer editor, nano
, the GNU pico clone is good.