Hi !

> Hi there,
> Is there an "edit" command in Linux which is like edit.com in DOS?

Hum... There is *some sort* of an alternative, which is 'vi'...
a text based editor, actually very powerful.
But, also, it is unfortunately quite different : no menus, keyboard commands 
only (and a huge number of them !)
For a newbie, it may be hard to use.

If you have X, 'xedit' ("notepad"-like) would *perhaps* be a little 
easier...

Anyway, here are the basics for vi :
* there are two important modes : "command" mode and "edit" mode
     you begin with command mode
* open a file : 'vi <file>' ('[RETURN]')
* type 'i' to get into "edit" mode. You can now INSERT some text.
   I recommend you experiment with a dummy file, first.
* type '[ESC]' to go back to command mode
* ':w' (+'[RETURN]') writes back to file ("saves" it)
* ':q' quits. Do ':q!' to force quitting without saving

Hope it is enough... Anyway, a look at 'man vi' wouldn't hurt... except if 
you don't like large man pages ;)

F.Pinard                 France

Reply via email to