From the course: Learning Vim

Unlock the full course today

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

Solution: Use Vim command

Solution: Use Vim command - vi Tutorial

From the course: Learning Vim

Start my 1-month free trial

Solution: Use Vim command

- [Instructor] Let's have a look at time.txt. On Mac and Linux we can use the cat command to show the content of the file. And now we can do vim plus four is the line number and D is delete the line, and then another command for write and quit, and then time.txt. And now when we look at time.txt, we see that the last line is missing.

Contents