Files that need to be changed are normally edited using one of the editors provided with the Bootable CD.
Micro emacs is a very small version of the popular Emacs editor. It is the easiest to get started with and one of the most powerful in existence. Here are the basics:
me filename edits the filename Arrow keys The arrow keys move the cursor [backspace] Delete the character to the left of the cursor ^X^S save the file (hold control, press XS) ^C exit (hold control, press C)
There are lots of other emacs commands. They can be viewed (within the editor) by typing:
Here is the list of default bindings of keys to functions where M- indicates the [esc] key:
abort-command ^G add-mode ^XM add-global-mode apropos M-A backward-character ^B begin-macro ^X( beginning-of-file M-[less-than] beginning-of-line ^A bind-to-key buffer-position ^X= case-region-lower ^X^L case-region-upper ^X^U case-word-capitalize M-C case-word-lower M-L case-word-upper M-U change-file-name clear-and-redraw ^L clear-message-line copy-region M-W count-words M-^C ctlx-prefix ^U ^X delete-blank-lines ^X^O delete-buffer ^XK delete-global-mode M-^M delete-next-character ^D delete-next-word M-D delete-other-windows ^X1 delete-previous-character^H delete-previous-word M-^H M- delete-window ^X0 describe-key ^X? end-macro ^X) end-of-file M-> end-of-line ^E exchange-point-and-mark ^X^X execute-macro ^XE M-E execute-named-command M-X exit-emacs ^C ^X^C fill-paragraph M-J M-Q filter-buffer ^X| find-file ^X^F ^X^V forward-character ^F goto-line M-G grow-window ^X^ ^XZ handle-tab ^I help M-? i-shell ^XC incremental-search ^S insert-file ^X^I kill-paragraph M-^W kill-region ^W kill-to-end-of-line ^K list-buffers ^X^B meta-prefix ^] move-window-down ^X^N move-window-up ^X^P name-buffer M-^N newline ^J ^M next-buffer ^XX next-line ^N ^Z next-page ^V next-paragraph M-N next-window ^XN ^XO next-word M-F open-line ^O pipe-command ^X@ previous-line ^P previous-page M-V previous-paragraph M-P previous-window ^XP previous-word M-B query-replace-string M-^R quote-character ^Q read-file ^X^R redraw-display M-^L resize-window ^XW restore-window replace-string M-R reverse-incremental-search^R save-file ^X^S scroll-next-up M-^Z search-forward ^XS search-reverse ^XR select-buffer ^XB set-fill-column ^XF set-mark ^X^M M- M-. M-M shell-command ^X! M-! shrink-window ^X^Z split-current-window ^X2 transpose-characters ^T write-file ^X^W yank ^Y
Visual is important/good because it seems to be available in every unix variant ever delivered. Here are some examples:
vi filename edit this file i go into 'insert' mode (type things in after that) [esc] escape from insert mode :wq! command (:) write (w) quit (q) forcefully(!)
For more help, try:
Pico is popular among many Linux users because of its onscreen help. To run it:
pico filename edit the file Arrow keys The arrow keys move the cursor [backspace] Delete the character to the left of the cursor ^O save the file (hold control, press O) ^X exit (hold control, press X)
More details are available by typing: