Presentation is loading. Please wait.

Presentation is loading. Please wait.

Basic vi Commands Michael Davis Phd Student, Atmospheric Science.

Similar presentations


Presentation on theme: "Basic vi Commands Michael Davis Phd Student, Atmospheric Science."— Presentation transcript:

1 Basic vi Commands Michael Davis Phd Student, Atmospheric Science

2 What is vi? vi is a screen-oriented text editor written by Bill Joy in 1976 for an early BSD release vi is a screen-oriented text editor written by Bill Joy in 1976 for an early BSD release In other words, it’s a text editor that uses command line on a Unix operating system In other words, it’s a text editor that uses command line on a Unix operating system

3 Basics about vi Two modes Two modes Insert mode Insert mode Command mode Command mode It may appear cumbersome at first but the more you use it the more you’ll find its pretty well designed. It may appear cumbersome at first but the more you use it the more you’ll find its pretty well designed.

4 Lets get started! Seeing contents of a directory Seeing contents of a directory Creating and changing directories Creating and changing directories Creating files Creating files Opening files Opening files Closing files Closing files Moving files Moving files

5 Editing Moving within the file Moving within the file Editing characters, words, and lines Editing characters, words, and lines Deleting characters, words, and lines Deleting characters, words, and lines Undoing mistakes Undoing mistakes Joining sentences Joining sentences

6 Movement in the file How to move the screen How to move the screen Searching Searching Quick movements Quick movements

7 Other Useful Commands Read only Read only Marking files Marking files

8 Tips to Help Ask questions Ask questions Check online Check online Practice Practice


Download ppt "Basic vi Commands Michael Davis Phd Student, Atmospheric Science."

Similar presentations


Ads by Google