Originally posted by: P0ldy
nano -w file
Correct me if I'm wrong, but I think the -w switch for nano is now the default behavior (i.e., it will not wrap even if you don't throw the switch). At least it's been working that way for me.
Nano is probably easiest for someone new to CLI text editing because it uses the arrow keys for navigation.
Vi (or vim) is the text editor that the old pros swear by, so there must be something to it. I haven't used it just because I don't know how, but now that I know there's a vimtutor I might give it a try.
In either case, go into the directory with the file you want to edit and type the name of the editor you want to use followed by the name of the file you want to edit.
Example:
nano dosbox.conf