18.01.2020 Views

Working with Linux

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

To save the file in editing text, type vim.txt

Type :q to exit Vim

Let's open the file again and do a small change:

:wq: Write and exit at the same time

:q!: Exit without saving

Now you are familiar with these commands, we can do basic file editing directly from the command

line. This is the bare minimum that anybody needs to know when working with Vim, and we will use

this knowledge in the chapters to come.

We will also have an entire section about Vim, where we will go into more detail about being

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!