[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-687606-105":59,"doc-detail-687606-en":130,"doc-similar-687606":154},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","linux-text-editors-part-3-commands-and-text-editors","Linux Text Editors - Part 3 - Commands and Text Editors","","Linux text editors are essential tools for editing text files on Linux systems, supporting programming, configuration changes, and scripting workflows. The material introduces what a text editor is, explains why editing text files drives most Linux configuration tasks, and presents two editor types: command-line editors and graphical editors. It then details commonly used editors—vi, nano, vim, emacs, gedit, KWrite, and Kate—and provides core commands and basic usage steps for vi, nano, and gedit.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/linux-text-editors-part-3-commands-and-text-editors/687606/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/linux-text-editors-part-3-commands-and-text-editors/687606.png","ImageObject",300,407,{"name":92,"@type":93},"LangkahRina","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-22","2026-11-07",true,{"@type":102,"interactionType":103,"userInteractionCount":39},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is a text editor in Linux, and why is it important?","Question",{"text":112,"@type":113},"A text editor is a software program used to edit text files. It is essential for programming, configuration file editing, and scripting, since most Linux system configuration relies on text files.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What are the two main types of text editors covered here?",{"text":117,"@type":113},"The two types are command-line editors and graphical editors. Command-line examples include vi and nano, while graphical examples include gedit and editors for desktop environments like KDE.",{"name":119,"@type":110,"acceptedAnswer":120},"How do you open and save files using vi, nano, and gedit?",{"text":121,"@type":113},"For vi, use commands such as vi filename, then use i to enter insert mode and w, q, or related commands to save and quit. For nano, open with a filename and use Ctrl + O to save and Ctrl + X to exit. For gedit, open from terminal with gedit filename.txt or via the GUI, then use built-in shortcuts like Ctrl + S to save.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},687606,1794084268,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":39,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":14,"preview_urls":145},962090893776,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","LINUX TEXT EDITORS  \nLinux Text Editors  \n• What is a text editor ?  \n– Is a program (software application) used for editing text files.  \n– It is essential for programming, configuration file editing, and scripting.  \n– Most configuration of Linux systems is done by editing text files.  \n– All Linux distributions include multiple text editors included.  \n• Two types of Editors  \n– Command-Line Editors  \n• vi – A traditional, lightweight, and widely available text editor  \n• nano – User-friendly and simple to use.  \n• vim – Advanced and powerful, supports modes.  \n• emacs – Feature-rich with extensive customization.  \n– Graphical Editors  \n• gedit – Default GUI editor in GNOME.  \n• KWrite –(for KDE) .  \n• Kate – is a free text editor that is part of the KDE desktop environment on Linux.  \nLinux Text Editors  \n• vi Editor  \n– Default text editor in Unix/Linux.  \n– Powerful but has a steep learning curve.  \n• Modes:  \n– Command mode – for navigation & operations.  \n– Insert mode – for text input.  \n• Basic Commands  \nvi filename  \ni ESC:w:q:wq:q!  \n\\# Open file in vi  \n\\# Switch to insert mode  \n\\# Exit insert mode  \n\\# Save file  \n\\# Quit editor  \n\\# Save & exit  \n\\# Force quit without saving  \nLinux Text Editors  \n• vi Editor : main interface  \nLinux Text Editors  \n• nano Editor  \n– Simple & user-friendly command-line editor.  \n– Popular for beginners.  \n• Basic Commands  \nnano filename CTRL + O  \nCTRL + X  \nCTRL + W  \nCTRL + K  \nCTRL + U  \n\\# Open a file in nano  \n\\# Save file  \n\\# Exit editor  \n\\# Search text  \n\\# Cut line  \n\\# Paste line  \nLinux Text Editors  \n• nano Editor : main interface  \nLinux Text Editors  \n• nano Editor : main interface  \nLinux Text Editors  \n• gedit Editor  \n– is the default text editor for the GNOME desktop environment.  \n– It is designed to be simple, efficient, and user-friendly.  \n• Key features  \n– Syntax highlighting for various programming languages.  \n– Find and replace with regular expressions.  \n– line numbering  \n– Undo/redo functionality for efficient editing.  \nLinux Text Editors  \n• Main interface if gedit  \nLinux Text Editors  \n• Basic Usage  \n– Open gedit:  \n• From terminal: gedit filename.txt  \n• From GUI: Click Applications → Accessories → gedit  \n– Create , edit, and save files.  \n– Use shortcuts:  \n• Ctrl + N → New file  \n• Ctrl + O → Open file  \n• Ctrl + S → Save file  \n• Ctrl + F → Find text","cbCaijp3GcUzu1pb","https://ap.wps.com/l/cbCaijp3GcUzu1pb","pdf",259131,11,"English","# What is a text editor?\n## Two types of editors\n# Command-line editors\n## vi editor: modes and basic commands\n## nano editor: basic commands\n# Graphical editors\n## gedit editor: features and basic usage","[{\"question\":\"What is a text editor in Linux, and why is it important?\",\"answer\":\"A text editor is a software program used to edit text files. It is essential for programming, configuration file editing, and scripting, since most Linux system configuration relies on text files.\"},{\"question\":\"What are the two main types of text editors covered here?\",\"answer\":\"The two types are command-line editors and graphical editors. Command-line examples include vi and nano, while graphical examples include gedit and editors for desktop environments like KDE.\"},{\"question\":\"How do you open and save files using vi, nano, and gedit?\",\"answer\":\"For vi, use commands such as vi filename, then use i to enter insert mode and w, q, or related commands to save and quit. For nano, open with a filename and use Ctrl + O to save and Ctrl + X to exit. For gedit, open from terminal with gedit filename.txt or via the GUI, then use built-in shortcuts like Ctrl + S to save.\"}]","Linux Text Editors - Part 3 - Commands and Text Editors | PDF",28,[146,150],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/854ac747649fa5e90dbb33467e5a6bb2.webp",983,737,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/47d1f6320429cb88eb70279ba2d528fa.webp",982,736,{"list":155,"token":66},[156,162,168,174,180,187,193,199,205,211],{"doc_id":157,"doc_title":158,"file_type":137,"home_preview_img_url":159,"slug":160,"view_count":24,"category_name":30,"create_tm":161},689147,"Learning the vi and Vim Editors - Seventh Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001521964/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111519&Signature=aiKpgHz%2FopdZquwVJTBIqYY4cHk%3D","learning-the-vi-and-vim-editors-seventh-edition",1794097598,{"doc_id":163,"doc_title":164,"file_type":137,"home_preview_img_url":165,"slug":166,"view_count":81,"category_name":30,"create_tm":167},689133,"The Linux Programmer’s Toolbox - Chapter 4 - Editing and Maintaining Source Files","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001519955/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111519&Signature=seJQFFmWMEMoP8pud8uXkups%2FN8%3D","the-linux-programmers-toolbox-chapter-4-editing-and-maintaining-source-files",1794097421,{"doc_id":169,"doc_title":170,"file_type":137,"home_preview_img_url":171,"slug":172,"view_count":24,"category_name":30,"create_tm":173},689145,"Let there be vim - Part 3 - editor war, modes, and keyboard power","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000681798/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111519&Signature=3Mj8ZUY7SX%2FaPQRss0zvg2AadOc%3D","let-there-be-vim-part-3-editor-war-modes-and-keyboard-power",1794097592,{"doc_id":175,"doc_title":176,"file_type":137,"home_preview_img_url":177,"slug":178,"view_count":19,"category_name":30,"create_tm":179},687596,"Learning The Vi Editor - Mastering Text Editing with Vim and Vi Skills","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262682/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111519&Signature=2vdI2ygq0DWhON2HM2WHkI%2BE1Cs%3D","learning-the-vi-editor-mastering-text-editing-with-vim-and-vi-skills",1794084230,{"doc_id":181,"doc_title":182,"file_type":137,"home_preview_img_url":183,"slug":184,"view_count":185,"category_name":30,"create_tm":186},671807,"A Practical Guide to Linux Commands - Editors and Shell Programming - Third Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988776589/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111519&Signature=OeesRuTX4HJtdrR88GmA37sUoic%3D","a-practical-guide-to-linux-commands-editors-and-shell-programming-third-edition",13,1793580874,{"doc_id":188,"doc_title":189,"file_type":137,"home_preview_img_url":190,"slug":191,"view_count":24,"category_name":30,"create_tm":192},687588,"Intermediate Vim - Simple and powerful editor basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262648/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111519&Signature=uZgb1UqxTmCZ0%2FFmx3yhxM0pxPQ%3D","intermediate-vim-simple-and-powerful-editor-basics",1794084211,{"doc_id":194,"doc_title":195,"file_type":137,"home_preview_img_url":196,"slug":197,"view_count":81,"category_name":30,"create_tm":198},689142,"Editing with gVim","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001521916/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111519&Signature=BLSI7Uk238vhRfH8SpnIdHOVTbA%3D","editing-with-gvim",1794097588,{"doc_id":200,"doc_title":201,"file_type":137,"home_preview_img_url":202,"slug":203,"view_count":19,"category_name":30,"create_tm":204},687591,"VIM USER MANUAL - Getting Started - Editing Effectively - Tuning Vim","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262652/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111519&Signature=qM%2F9Fp85r%2Bo63nVOUJ53Xwapt84%3D","vim-user-manual-getting-started-editing-effectively-tuning-vim",1794084219,{"doc_id":206,"doc_title":207,"file_type":137,"home_preview_img_url":208,"slug":209,"view_count":29,"category_name":30,"create_tm":210},678093,"Chapter 02 - Where and How to Use Mermaid","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229994792867/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111519&Signature=%2FsrwOEHFpUzljRdFzDr5%2FxeL2TI%3D","chapter-02-where-and-how-to-use-mermaid",1793784197,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":34,"category_name":30,"create_tm":216},687597,"Learning the Vi Text Editor - Chapter 1 - Getting Started","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001262686/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111519&Signature=k26eBexnq%2Ff4z1dx%2BpdcbLyLOBE%3D","learning-the-vi-text-editor-chapter-1-getting-started",1794084232]