linux_wiki:create_and_edit_text_files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux_wiki:create_and_edit_text_files [2016/02/28 22:55]
billdozor created
linux_wiki:create_and_edit_text_files [2019/05/25 23:50] (current)
Line 3: Line 3:
 **General Information** **General Information**
  
-About this page/how-to/script+Configuration files are everywhere and need a text editor
  
 ---- ----
Line 12: Line 12:
   * nano => very simple edtior, not always on a system   * nano => very simple edtior, not always on a system
   * vi/vim => vi always on the system, vim sometimes on a system   * vi/vim => vi always on the system, vim sometimes on a system
 +    * **For this reason, learn vi/vim.**
  
 ---- ----
Line 24: Line 25:
 </code> </code>
  
-Command Mode => Cannot type into the file, used for movement/editing\\ +  * Command Mode => Cannot type into the file, used for movement/editing 
-Insert Mode => Type in this mode\\ +  Insert Mode => Type in this mode 
-Ex Mode => Searching, Saving, Quiting, and Changing Vi's options+  Ex Mode => Searching, Saving, Quiting, and Changing Vi's options 
 + 
 +---- 
 + 
 +==== Command Mode ====
  
-=== Command Mode === 
 Movement Movement
   * i => enter Insert Mode   * i => enter Insert Mode
Line 37: Line 41:
   * G => goto last line in file   * G => goto last line in file
   * 1G => goto first line in file   * 1G => goto first line in file
 +
 Editing Editing
   * yy => yank line (copy)   * yy => yank line (copy)
Line 48: Line 53:
   * cc => delete current line and enter insert mode   * cc => delete current line and enter insert mode
  
-=== Insert Mode ===+---- 
 + 
 +==== Insert Mode ===
   * Esc => leave Insert mode, enter Command Mode   * Esc => leave Insert mode, enter Command Mode
  
-=== Ex Mode ===+---- 
 + 
 +==== Ex Mode ====
  
   * :q => quit   * :q => quit
  • linux_wiki/create_and_edit_text_files.1456718133.txt.gz
  • Last modified: 2019/05/25 23:50
  • (external edit)