One of the first things we learned how to do in DOS was to edit a file. Linux has an editor. It is called vi. A more recent version is called vim. The following steps will let us edit our DOS type file ks.cfg on our Linux boot floppy. We will build and run all kinds of text files. So we should get used to using vi or vim. Both editors have a awesome number of features. Rather like the VAX edt editor.
mount -t msdos /dev/fd0 /mnt #mount the floppy vi /mnt/ks.cfg #start the editor .. make some changes .. #insert a comment line for example :w #write the file :q #quit the editor less /mnt/ks.cfg #view the changes you just made umount /mnt #un-mount the floppy drive