From the course: SUSE Linux Enterprise Server Essential Training

Unlock the full course today

Join today to access over 22,700 courses taught by industry experts or purchase this course individually.

Vim

Vim - Linux Tutorial

From the course: SUSE Linux Enterprise Server Essential Training

Start my 1-month free trial

Vim

- [Instructor] We're working in a shell environment, and we need to know how to change files here. If you're on SUSE, you've probably chosen it because you want to work with a graphical user interface. That's what SUSE is known for; for having those graphical tools. You're not always gonna have the GUI available to you. For example, if you SSH into a remote computer terminal, you're only gonna have the command line. So you're probably gonna pick a graphical editor to use to edit your files. But if you have to work in a command shell, let me give you some real quick tips. Not much here, I'm not gonna go into big detail, but we'll use Vim, because Vim is on almost every system that you'll encounter. So if I simply type the command vim and then I give it a file name, it will create that file for me, and it will be blank. Vim has two modes. It's got command mode, and insert mode. So when I'm in command mode, I can perform actions, and when I'm in insert mode, I can add text. So if I want…

Contents