inflearn logo

Introduction to vi/vim Editor for Linux Users

This is a practical course for Linux beginners who struggle with saving, exiting, switching input modes, navigating, deleting, and copying/pasting because they are unfamiliar with vi/vim. Based on over 30 years of experience using Linux, this course is designed to help you step-by-step master the vi/vim basics and practical editing commands required for server tasks in a Rocky Linux 9 environment.

(5.0) 1 reviews

44 learners

Level Beginner

Course period Unlimited

Linux
Linux
Shell Script
Shell Script
terminal
terminal
Vim
Vim
Linux
Linux
Shell Script
Shell Script
terminal
terminal
Vim
Vim

What you will gain after the course

  • I can perform the basic tasks of opening, editing, saving, and exiting files in vi/vim on my own.

  • You can quickly edit file content by distinguishing between input mode and command mode and using commands for moving, deleting, copying, and pasting.

  • You can efficiently modify the contents of configuration files or source code using string search and replace commands.

  • You can understand screen splitting, registers, and swap file recovery functions and apply them to actual Linux server tasks.

  • You can use vi/vim to write and edit programming language files such as shell scripts, Python, and C.

Master the basics of Linux server work, starting with the Vim editor.

When using Linux, you will encounter various situations where you need to use the vi/vim editor, such as modifying configuration files, checking logs, writing scripts, and editing source code. Especially in Linux server environments where GUI editors are often unavailable, the ability to use Vim directly within the terminal environment is extremely important.


This course is an introductory lecture where you learn how to use the Vim editor in a Rocky Linux 9 environment through hands-on practice.


What kind of course is this?

This course is an introductory course where you will learn how to use the vi/vim editor in a Rocky Linux 9 environment through hands-on practice.

The practice sessions are based on Rocky Linux 9, but the basic usage of the vi/vim editor can be applied identically to most Linux distributions, including Ubuntu Linux. This course does not cover the Linux installation process. It focuses on how to use the Vim editor in an environment where Linux is already installed.

We will learn step-by-step, starting from basic functions such as opening, saving, and closing files, switching input modes, cursor movement, deleting, and copying and pasting, to advanced topics like screen splitting, registers, string substitution, swap file recovery, and utilizing Vim for programming language editing.

The practice sessions are structured not just to memorize commands, but based on situations frequently encountered in actual Linux server tasks.


You will learn the following.


In this course, you will learn the following.

  • Types of Linux editors and how to use nano

  • The basic structure and operation of the vi/vim editor

  • Setting basic vi/vim options

  • Commands for opening, saving, and exiting files

  • How to switch to input mode

  • Cursor movement commands

  • Delete commands

  • Copy and paste commands

  • Multi-window and Screen Splitting

  • How to use vi/vim registers

  • Search, other commands, and string replacement

  • Understanding and recovering swap files

  • Utilizing shell scripts, configuration files, and programming language editing

  • It also covers how to write and edit Shell Script, Python, and C language files using Vim.

Additional Elastic Stack Lectures



Problems you can solve by taking this course

## You can solve these problems
Many people experience the following issues when using vi/vim for the first time.

  • You get flustered because you don't know how to save and exit in vi/vim.

  • The input mode and command mode are confusing.

  • They cannot move quickly to a desired location within a file.

  • I don't know how to delete by single line, multiple lines, or word units.

  • I cannot properly utilize copy and paste.

  • You cannot open multiple files at once or work with a split screen.

  • They are unable to utilize string search and replace commands in practical work.

  • You don't know how to handle swap files created after an abnormal termination.

This course is designed to help you solve these problems one by one and become naturally proficient in using the vi/vim editor.


We recommend this to the following people.

This course is suitable for the following people:

  • Those who are learning Linux for the first time

  • Linux server beginners

  • Developers or those new to development

  • Those studying in the fields of cloud, security, and infrastructure

  • Those who need to modify configuration files on a server

  • Those who are not familiar with the vi/vim editor

  • Those who want to learn systematically, starting from saving, exiting, and switching input modes

  • Those who are looking for a vi/vim practical course that is more organized than free lectures


Lecture Environment

This course is conducted in a Rocky Linux 9 environment. However, the basic usage of Vim and vi/vim is similar across most Linux distributions, such as Ubuntu Linux, CentOS, and the RHEL family.

The Linux installation process is not covered. This course focuses on learning how to use the vi/vim editor in an environment where Linux is already installed.


Course Curriculum

Section Lesson Content Section 1. Getting Started with vi/vim Editor Linux editors and how to use nano, vi/vim overview, basic option settings Section 2. Basic vi/vim Editing Commands Opening, saving, and closing files, switching input modes, navigation, deletion, copy and paste Section 3. Advanced vi/vim Features Multi-windows and screen splitting, registers, other commands, and string substitution Section 4. vi/vim Troubleshooting and Practical Application Understanding and recovering swap files, practical use for editing programming languages

It consists of a total of 13 lectures, with a total runtime of approximately 4 hours.


PDF educational materials provided

Students will be provided with approximately 40 pages of PDF educational materials.

The course is structured so that you can follow along with the hands-on exercises while watching the lectures, and review the vi/vim commands and key concepts even after completing the course.

This is not just a lecture where you finish by watching the video; we also provide learning materials so you can look up the necessary information again whenever needed.


What makes this course different

This course is not just a simple collection of vi/vim commands.

It is structured based on editing tasks that are actually used frequently in Linux server environments. It covers not only basic functions such as saving, exiting, inputting, moving, and deleting, but also features that are helpful to know in practice, such as screen splitting, registers, string substitution, and swap file recovery.

Additionally, based on over 30 years of experience using Linux, the course is structured by considering where beginners get stuck, what parts they find confusing, and which commands they should master first when using vi/vim.

This course is helpful for those who want to systematically organize the vi/vim basics required for Linux server tasks, going beyond the simple level covered in free lectures.


Conclusion

Vi/Vim may feel difficult at first.
However, once you learn the basic structure and frequently used commands, working in Linux becomes much easier.

If you are studying Linux servers, development, cloud, security, or infrastructure, vi/vim is an essential basic tool you must learn.

Through this course, reduce your vague fears about the vi/vim editor and build the fundamental skills to perform necessary file editing tasks in a Linux environment on your own.


Key Highlight!

To understand Linux deeply, you must be able to go beyond simple command usage and access the source level.

To do that, it is important to become familiar with the vi editor.

Thank you.

Recommended for
these people

Who is this course right for?

  • Server beginners who need to modify configuration files on a Linux server but are stuck because they are unfamiliar with saving, exiting, and switching input modes in vi/vim.

  • Developers and beginners who experience slow Linux workflows because they cannot quickly move, delete, copy, and paste files in a terminal environment.

  • Those who are struggling with modifying configuration files or checking logs due to a lack of proficiency in vi/vim during cloud, security, or infrastructure practice.

  • Those who have learned a bit of vi/vim through free lectures but haven't been able to systematically organize the editing commands necessary for actual server work.

  • Programming beginners who need to write and modify shell scripts, Python, and C language files directly in the Linux terminal.

Need to know before starting?

  • Basic experience using the Linux terminal is recommended.

  • It will be easier to follow the lecture if you are familiar with basic commands such as cd, ls, pwd, and cat.

  • We explain basic concepts from the start so that even those using vi/vim for the first time can take the course.

  • The Linux installation process will not be covered, and vi/vim will be explained from the basics so that even first-time users can follow along.

Hello
This is linuxmasternet

Career Verified

376

Learners

6

Reviews

7

Answers

5.0

Rating

3

Courses

Instructor Introduction

Since first encountering Linux in 1995, I have accumulated over 30 years of experience in Linux server operations, networking, and information security.

Since 2001, I have accumulated more than 25 years of hands-on and teaching experience in Linux and information security, and based on this experience, I strive to provide practical, hands-on training that can be applied not only to theory but also to real-world server deployment and operational environments.


[Key Career History]

  • CEO of Linux Master Net

  • Information Security Major

  • Received the 2014 Commendation from the President of the Korea Internet & Security Agency (KISA)

  • Conducted penetration testing and security vulnerability assessments of information systems for the Supreme Prosecutors’ Office, Allianz Life, Dongbu Securities, and others.

  • Former Expert Committee Member for Linux Master at the Korea Association for ICT Promotion

  • (Former) Mentor for the Student Union of Information Security (SUA)

  • (Former) Head of the Education Team, Korea Hacking Security Association

[Teaching Experience]

  • Started teaching in the fields of Linux and information security in 2001

  • As of 2026, conducting lectures on Linux servers, networks, and information security.

  • Korea Internet & Security Agency (KISA) – Special Lecture on Linux Security

  • Professional training institutions – Information security lectures at Seoul Hyundai Vocational School, KH Information Education Center, Korea IT Academy, and others

  • Universities and educational institutions – Information Security special lectures at Korea Information and Communications Polytechnic College, Chonnam National University, Woosuk University, Hoseo University, and more

  • Public institutions – Special lectures on personal information protection and information security for the Ministry of Culture, Sports and Tourism, the National Information Society Agency, the Navy, the National Election Commission, and others

  • Businesses and medical institutions – Special lectures on personal information protection and information security for POSCO A&C, Ilsan Paik Hospital, Hyundai Department Store, Hyundai HDS, and others

※ Conducted lectures on personal information protection and information security at approximately 30 organizations, including the institutions listed above, as well as public institutions, corporations, and medical institutions


[Educational Philosophy]

I believe that with Linux and information security, the process of building, configuring, and troubleshooting servers firsthand is more important than simply memorizing commands and concepts.

Errors and failures that occur during the learning process are not merely mistakes, but valuable opportunities to learn and grow. At times, you may go through countless trials and errors and what is commonly called 'trial and error,' but I believe that the insights gained by analyzing the causes and solving problems on your own are the most reliable form of learning.

Even content that initially seems difficult and incomprehensible becomes fully your own knowledge and skill if you don’t give up, but repeatedly practice and work through it.

Going beyond simply following along to develop the ability to think independently and solve problems—this is the direction of education I pursue.

I will provide practice-oriented lectures so that you can continue challenging yourselves without giving up, even through difficult parts of the course, and confidently apply what you have learned in real-world environments.


Thank you.

More

Curriculum

All

19 lectures ∙ (4hr 16min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

1 reviews

5.0

1 reviews

  • jssusn2402님의 프로필 이미지
    jssusn2402

    Reviews 4

    ∙

    Average Rating 5.0

    5

    32% enrolled

    • linuxmasternet
      Instructor

      Thank you for the precious 5-star review. I am truly glad that you enjoyed the course, and it gives me great strength to continue creating lectures in the future. I am currently preparing additional lectures and content on useful plugin applications so that you can utilize vi/vim more effectively in practice. Furthermore, I plan to add hands-on content that goes beyond just using the editor, showing how to build and work on actual services using vim. I will continue to update the course with new lectures soon. Thank you sincerely for taking the course!

    • Your YouTube lectures are also very helpful. Thank you.

    • linuxmasternet
      Instructor

      There are many lectures on YouTube that are somewhat lacking in content, so I am truly glad that my lectures were helpful to you. Even though it has been quite a while since these videos were uploaded due to my schedule, I sincerely thank you for watching them and leaving such a positive review. ^^

linuxmasternet's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

25% off for new members

$17.60

25%

$17.60